Patent ID: 8096881

Claim:
A non-transitory storage medium storing a game program executed by a computer in a game apparatus for executing a game, the game program causing the computer to function as: output data obtaining programmed logic circuitry for obtaining output data varying depending on a motion of an input device itself; output data storing programmed logic circuitry for storing a history of the output data obtained by the output data obtaining programmed logic circuitry into a memory; peak value detecting programmed logic circuitry for detecting successive extremums of values from the output data history stored in the output data storing programmed logic circuitry; peak interval calculating programmed logic circuitry for calculating a time interval between times when the output data indicating the successive extremums have been obtained, based on the detection of the peak value detecting programmed logic circuitry; measurement programmed logic circuitry for measuring a time which has elapsed between the detection of a last extremum by the peak value detecting programmed logic circuitry and a present time before the detection of the next extremum; game input data calculating programmed logic circuitry for calculating game input data by using the elapsed time measured by the measurement programmed logic circuitry and the time interval calculated by the peak interval calculating programmed logic circuitry; and game processing programmed logic circuitry for executing a game process using the game input data calculated by the game input data calculating programmed logic circuitry.