jpaju / ppip-tic-tac-toe

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:Elm 67.2%Language:F# 30.0%Language:JavaScript 1.2%Language:HTML 0.9%Language:CSS 0.6%