Patent ID: 7412348

Claim:
A storage medium storing a game program which causes a computer of a game apparatus including an input means having an acceleration sensor for detecting accelerations in at least two-axis directions to execute game processing in correspondence with a kind of an acceleration input by means of said input means, wherein said game program causes said computer to execute acceleration acquiring for acquiring accelerations detected by said acceleration sensor, reference timing detecting for detecting a reference timing indicative of timing when acceleration in a first-axis direction out of the accelerations in the two-axis directions acquired by said acceleration acquiring is below a predetermined threshold value to take on a minimum value or is above the predetermined threshold value to take on a maximum value, first vector calculating for calculating a first acceleration change vector on the basis of accelerations in said two-axis directions acquired at said reference timing and accelerations in said two-axis directions acquired at timing next to said reference timing, second vector calculating for calculating a second acceleration change vector on the basis of the accelerations in said two-axis directions acquired at said reference timing and accelerations in said two-axis directions acquired at timing before said reference timing, angle determining for determining whether or not an angle between said first acceleration change vector and said second acceleration change vector is equal to or more than a predetermined angle, and input kind determining for determining that said acceleration input is an acceleration input in any one of said two-axis directions when said angle determining determines that said angle is not equal to or more than said predetermined angle, and determining that said acceleration input is an acceleration input in a direction including said two-axis directions as components when said angle determining determines that said angle is equal to or more than said predetermined angle.