Design a "Don't Fall Off the Cliff!" game:
There are 3 people (represented by 3 LEDs) tied together on the top of a cliff! They are running left and right in a panic but you
need to prevent them from falling off the cliff or it's game over!
• At the start of the game, these three people appear on the cliff.
• Pressing the middle pushbutton starts the game and these three people will run towards the left / right.
• Toggling the left and right pushbuttons will change their direction and make them move towards the left or right respectively.
• There are two ways to increase the difficulty of the game:
(1) Reducing the width of the cliff:
Changing the left cliff boundary: Use SW15 / SW14 / SW13
Changing the right cliff boundary: Use SW0 / SW1 / SW2
(2) Using the top and bottom pushbuttons, increase the speed at which they are running! Design for your game to operate at
three speeds.
Easy: Between 0.5 Hz – 2.0 Hz
Moderate: Between 3.0 Hz – 6.0 Hz
Difficult: Between 8.0 Hz – 10.0 Hz
• If any of the three persons (LEDs) falls over the cliff, game over and all LEDs light up and blink!
• Lastly, all pushbuttons should be debounced to ensure that the game is fair!
if you are really looking for complition of this project then you can hire me.
I have implemented this type of logic in the past as well , I can acomplish this project in 1-2 days.
please let me know how to take this further?
thanks
SK