A simple implementation of pong using two ucfk4, written as a pair assigment for ENCE260-18 achieving an A grade. Developed by:
Ambrose Ledbrook | 79172462
Josh Jarvis | 28803714
The drivers required for this game to run are not provided here. All drivers needed and a copy of the game is provided here: https://github.com/ambroseled/UCFK4-Apps
- Set up boards in a dimely lit area close together with ir receivers and senders facing each other
- In terminal navigate to the root of the group128 folder
- Run
make clean
- Then run
make program
twice - Press the navswtich move to game difficulty selection, on either board
- Use the navswitch to select the game difficulty
- Confirm difficulty and start the game by pressing the navswitch
- Use the navswitch to control your paddle
- Play the game!!
- The
MakeFile
of the game relies on thegroup128
folder being two directories down from thedrivers
,utils
andfonts
folders that are porvided in theence260-ucfk4
repository - When running the game please ensure that the
group128
folder is in the above location
- The goal of the game is to win by causing the other player to miss the ball
- Use your paddle to bounce the ball back onto the other players screen and stop it from hitting the back of your screen
- The active player will be indicated by the blue led
- The game has 3 difficulty levels which relate to the speed of the ball
- Easy - 1
- Medium - 2
- Hard - 3
- When the game is over the winner's boad will display
You Won!! :)
as well as the led turning on and the losing board will displayYou Lost :(
- The game menu can then be reached through a press of the navswitch from either board
- The game menu first gives a greeting
Welcome to pong
- Then with a push of the navswitch you move on to difficulty selection
- The navswitch can be used to cycle through the different difficulty levels
- A push of the navswitch will confirm the difficulty and start the game
- A winning or losing message will be displayed
- A push of the navswitch will again move you to difficulty selection
- Another push of the navswitch will confirm difficulty and restart the game