Skip to content

A 2D Table Tennis Game written in JavaScript and Ruby on Rails

Notifications You must be signed in to change notification settings

callim105/retroJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RetroJS

  • 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

Installation

  • 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

Usage

  • 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.

Controls

  • Player 1: Up = Press w, Down = Press s

  • Player 2: Up = Press p, Down = Press ;

Contributing

  • 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.

License

MIT

About

A 2D Table Tennis Game written in JavaScript and Ruby on Rails

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published