This project was built with React, Node.js, and Express.
This is a simple game where the user can select two character to battle. Character HP is randomly generated upon selection. The character with the highest HP wins the battle.
- Users can edit player names, replace single players, and reset the entire battlefield.
- Users can also view all available characters.
- Clone down the repo
- Install dependencies with
yarn
-
Install
nodemon
globally if not installedsudo npm i -g nodemon
-
Run the server using
nodemon
- Server will be running on
http://localhost:4002
- Server will be running on
-
Run the React frontend with
yarn start
- Frontend will be available on
http://localhost:3000
- Frontend will be available on