Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.51 KB

readme.adoc

File metadata and controls

24 lines (18 loc) · 1.51 KB

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