Gameboard is a multi-user game interface where two or more players can play card games in real-time. Game moves are shared between users utilizing Socket.io.
Games currently on dock:
- Goofspiel
Features included:
- Create a game room to play in
- Join a game room that has been created using the room name or by selecting to join a random game room in progress
- Game history of the logged in player
- Leaderboards, updated in real time
- Create the
.env
by using.env.example
as a reference:cp .env.example .env
- Update the .env file with your correct local information
- username:
labber
- password:
labber
- database:
midterm
- Install dependencies:
npm i
- Fix to binaries for sass:
npm rebuild node-sass
- Reset database:
npm run db:reset
- Check the db folder to see what gets created and seeded in the SDB
- Run the server:
npm run local
- Note: nodemon is used, so you should not have to restart your server
- Visit
http://localhost:8080/
- Node 10.x or above
- NPM 5.x or above
- PG 6.x
- Express
- PostgreSQL
- Socket.io
- Cookie Session
- SASS