/tictactoe

Primary LanguageJavaScript

TicTacToe

Server install

  • cd server
  • npm i
  • node server.js
  • TCP will run on 1337, WS run on 8081

CLI client

  • cd cli-client
  • npm i
  • node client.js
  • Command prompt will be available, for help, type help

Web client

  • It is written in vue.js
  • cd client
  • npm i
  • npm run dev
  • It should open a new window in browser, if not, type localhost:8080

Run test on server

  • cd server
  • npm i
  • npm t

Info

  • Ports and host is hardcoded in the server and client