Prerequisites
- Node (not sure of minimum version, using v18 for development)
- Yarn (you can use npm if you wish)
- Docker
Setup
- Install packages
- Create .env file at root
PGHOST=localhost
PGPORT=5433
PGUSER=postgres
PGPASSWORD=test
- Create docker container
- Start docker container
- Run DB migrations
Start Game Server
- This begins the server within a terminal
yarn start:sever [ws port]
Start Game Client
- This begins the client within a terminal
yarn start:client [player name] [ws://ip:port]