Home > Back-end >  For help
For help

Time:12-16

Based on the single-chip microcomputer experimental development board, jump jump game design,

Requirements:

1. Digital tube before two display achievement scores, the final steps one random target: 1 ~ 8,

2. Hold down the button when xu li, with eight LED display xu li, release button and takeoff:

Steps (1) if the number of long jump and the target exactly, add 2 points score;

Step (2) if the error 1, + 1 points;

(3) if the error & gt; Step 1, GameOver, 3 drops, locking points, after being reset to continue to play,

(4) optional timer, time limit for 2 seconds time, don't jump is to lose the game,
How do you write this program
  • Related