Skip to content

A cloud-based recreation of the game Pong, where users can use hand-held accelerometers to move their paddle against up to 4 opponents.

Notifications You must be signed in to change notification settings

1rre/distributed_pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distributed Pong

Board

Files

The C source file for the code running on the DE10-Lite as well as the qsys, verilog & sopcinfo files used to generate the Eclipse project are in Board.

Dependencies

You must have a DE10-Lite board plugged in with included sof file flashed, along with a means of generating an ELF file & flashing it to the board.

Server

Files

The Erlang source files which run in the cloud are in the directory Server. The 2 most noteworthy are the pong server module, which deals with network communcation with players and the pong game module, which keeps track of and updates the current game state.

Dependencies

Erlang/OTP v22 or later (available in apt package erlang, the smaller erlang-base may also work)

Client

Files

The Scala source files which are run locally are in the directory Client.

Dependencies

Java version 8 or later.
The application nios2-terminal(.exe) must be located on your path.
A wrapper for the Mill build tool has been included for compiling the project: one can run the project directly with ./mill -i Client.run, or compile the project with ./mill Client.assembly & use Java to run the project with java -jar out/Client/assembly/dest/out.jar

About

A cloud-based recreation of the game Pong, where users can use hand-held accelerometers to move their paddle against up to 4 opponents.

Resources

Stars

Watchers

Forks