Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 870 Bytes

README.md

File metadata and controls

20 lines (19 loc) · 870 Bytes

Tic Tac Toe

Prerequisites

Backend

.NET 5.0 is required to run the backend. To run the backend you must navigate to the backend folder and run the following command. This will start the backend on port 8080.

dotnet run

Frontend

The frontend requires npm for the installation of the elm environment. You can install the elm environment with the following command.

npm i create-elm-app 

The frontend can then be started from the frontend folder with the following command after you have installed the prerequisites.

elm-app start

Playing the game

You need to open two browser windows with the frontend opened. Then you need to choose Play online and the game starts when both players have joined. When the game has ended, the backend must be restarted if you want to play again.