Skip to content

Angela246/Pong-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

104 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ENCE260 UCFK4 Assignment - Pong

Objective:

Pass the ball around for as long as possible until a player is unable to hit the ball back.

Set Up UCFK4 funkits:

  1. Set up the two UCFK4 in a dimly lit area close together with ir receivers and senders facing each other.
  2. Connect the mini USB cables to the boards and the computer's USB ports.

Set Up And Run Source Code:

  1. Download the source code and ensure that the folder is two directories down from the drivers, utils and fonts folders that are provided in the ence260-ucfk4 repository.
  2. Open terminal and navigate to the root of the group_413-main folder
  3. Run the command below
make clean
  1. Then run the command below twice, to run the game on both the UCFK4 boards.
make program

How to play:

  1. To start the game both players needs to push down the navswitch driver (joystick).
  2. One player will need to push down again to confirm that they are ready.
  3. Pass the ball around by controlling the paddle to the left and right direction by moving the joystick in the left and right direction.
  4. Keep the ball moving between the two players.
  5. The game will end when a player misses the ball.
  6. A message will display with DEFEATED for the player who missed the ball and WINNER for the other player.
  7. 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.

Authors:

  • Angela Yu (ayu29)
  • Michael Sievers (msi116)

(18/10/2022)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors