Skip to content

Server and client for the game starter project for #15

Notifications You must be signed in to change notification settings

timvandervoorn/game-starter-b15

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

Multiplayer Tic Tac Toe

This repo contains a frontend and backend for a multiplayer tic tac toe game. It uses Typescript, Koa, routing-controllers and TypeORM in the backend and React/Redux in the frontend. The backend exposes a REST API but also sends messages over websockets using SocketIO.

example

Getting Started

Postgres Database

Start a Postgres container using the following Docker command:

$ docker run \
  --rm \
  -e POSTGRES_PASSWORD=secret \
  -p 5432:5432 \
  postgres

TypeStack Server

Then cd into the server directory and run npm install to install the dependencies.

Start the server with the npm run dev

React Client

Open another terminal session and cd into the client directory, then run npm install to install dependencies and run npm start to start the dev server.

About

Server and client for the game starter project for #15

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 67.1%
  • TypeScript 28.2%
  • HTML 3.1%
  • CSS 1.6%