A video game apparatus includes a CPU. The CPU detects an action code of a
land object existing in front of a hole. If "jump" is the action code, a
height (or depth) of the hole is calculated. When the hole height is
greater than a predetermined height, a jump distance is calculated for the
player object, and the CPU causes the payer object to jump in accordance
with that distance.