This simple web app will allow two players to attack one another. The first player to lose all of their HP loses!
Navigate to your battle_game folder and do the following:
bundle install
rackup
- You'll see the port number being used by Sinatra as part of the init. Open your browser (Chrome/Firefox etc.) and go to localhost:YOUR PORT HERE e.g. localhost:9292
- Enter your names and play the game!