A game apparatus includes a CPU, and the CPU executes a game program stored in a game cartridge. During a game, the CPU corrects an ultraviolet ray value detected by an ultraviolet ray sensor in such a manner as to render equal or approximate to a setting value of the ultraviolet ray