Front end for the chezz game found here Chezz Back
This project is powered by Vite + React. Commands are as usual
npm install
npm run dev
It requires the following environment variable
PUB_API_BASE=http://backend.url
-
Main.tsx - /
The main page where you can create a new game or join an existing one.
-
Game.tsx - /game/:id
The page where the game takes place.
This page will make a first request to load all game information and after that will connect to the server trough a websocket in order to communicate game movements.