Pass the ball around for as long as possible until a player is unable to hit the ball back.
- Set up the two UCFK4 in a dimly lit area close together with ir receivers and senders facing each other.
- Connect the mini USB cables to the boards and the computer's USB ports.
- Download the source code and ensure that the folder is two directories down from the
drivers,utilsandfontsfolders that are provided in theence260-ucfk4repository. - Open terminal and navigate to the root of the
group_413-mainfolder - Run the command below
make clean- Then run the command below twice, to run the game on both the UCFK4 boards.
make program- To start the game both players needs to push down the navswitch driver (joystick).
- One player will need to push down again to confirm that they are ready.
- Pass the ball around by controlling the paddle to the left and right direction by moving the joystick in the left and right direction.
- Keep the ball moving between the two players.
- The game will end when a player misses the ball.
- A message will display with
DEFEATEDfor the player who missed the ball andWINNERfor the other player. - To restart the game, both players needs to push down on the joystick and one player will need to push down again when the players are ready.
- Angela Yu (ayu29)
- Michael Sievers (msi116)
(18/10/2022)