-
RetroJS is a Pong game that was created using HTML Canvas, JavaScript, CSS, and Ruby on Rails for our backend API.
-
Created By: Christian Lim and Phil Roth
- Clone the repo, then in terminal navigate to the backend folder
cd retroJS-backend
- Then run
bundle install
- Now, you need to migrate the database
rails db:migrate
- The Rails server must be running for the game to work.
rails s
- After the server is running, open the index.html file in your browser.
-
Player 1: Up = Press w, Down = Press s
-
Player 2: Up = Press p, Down = Press ;
-
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
-
Please make sure to update tests as appropriate.