Skip to content

Repository files navigation

Code Racer

Demo Video Link
Alternate Video Link

Code Racer Demo

Premise

Code Racer is a platform to play a type racing game online with your friends while also improving your coding abilities. Code Racer will help improve coding speed, syntactic memory, and styling etiquette to help any struggling developer.

How do I get started?

  1. Install MongoDB community edition
  2. Open the repository in a code editor like VSCode
  3. In your terminal(routed to your code racer directory), run `npm install` to install the dependencies and get the node_modules folder.
  4. Run `npm start` to start your server to listen for clients
  5. Open a new terminal window and change the directory to the client folder (`cd client`) and then run `npm install` again to install the client's dependencies
  6. Change directories back to the server and run `npm start` to start the server.
  7. In a new terminal instance, go to your client directory and run `npm start` to start your react application. Multiple clients can be created locally by creating more terminal instances.
  8. Navigate the website to start a party or join an exisiting one and enjoy playing!
  9. Side Note: Since the server will be hosted locally, if you want to add more players, you need to open another terminal session, change the directory to client and run npm start. Currently, the game is set to support upto 4 players for testing but that can easily be changed by editing server.js and changing line 12 to add extra clients (or keep it open to all clients using RegEx)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages