Skip to content

Tic-tac-toe game with UI written in Elm and server written with F#. Programming exercise for course Programming Paradigms in Practice.

Notifications You must be signed in to change notification settings

jpaju/ppip-tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Tic-tac-toe game with UI written in Elm and server written with F#. Programming exercise for course Programming Paradigms in Practice.

Resources

Stars

Watchers

Forks