Lukasz0104 / connect-four-socketio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

connect-four-socketio

Simple Connect Four game in TypeScript with use of Socket.IO.

instructions:

  1. clone this repo
  2. run npm i to install required packages
  3. run the server by running either:
    3.1 npm run devServer to start development server (automatic reload)
    3.2 npm run build followed by npm start
  4. open 2 instances of localhost:3000 in a browser (e.g. in separate tabs)1 or visit <server's ip address>:3000 on other devices in local network

todos:

  • create rooms on the server
  • enable players to join room by clicking on room's id
  • improve styling
  • migrate to TypeScript

Footnotes

  1. Restarting the game may not work when opened in two separate tabs.

About


Languages

Language:TypeScript 61.6%Language:JavaScript 24.9%Language:CSS 7.4%Language:HTML 6.2%