Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 1.23 KB

README.md

File metadata and controls

17 lines (12 loc) · 1.23 KB

Snake

Simple Snake Game implmentation in C++. Uses a standard Wiimote for key interaction, transmitted via a Bluetooth connection through an FPGA Controller.

Usage

Note that steps 1 and 2 only need to be completed once.

  1. Connect and power on the Zedboard and Wiimote to a UNIX environment.
  2. Run the WiimoteConnect.sh to connect the Wiimote via Bluetooth signal. Note that you will have to modify this file to use your Wiimote's MAC address.
  3. Run the make-snake.sh file to launch the Snake game.

Instructions

This is a very basic implementation of Snake. Snake is a classic arcade game in which the user, the snake, is trying to grow by eating food, or the fruit. Everytime the snake consumes a piece of fruit, it grows. The game ends when the snake collides with itself or the edges of the game board.

Use the keypad on the Wiimote to control your Snake's direction. Press B to play a new game.