Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.15 KB

README.md

File metadata and controls

30 lines (20 loc) · 1.15 KB

tic-tac-toe

backend-part

About Project

In this project, I started implement simple game Tic Tac Toe. I try create multiplayer game on express.js, I also use redis (for store queue users and state games), modgodb (for store, another data) and Sockets for respond on many async request.

This project was created in a short time (as a test task), therefore, some solutions may be far from ideal.

Video for understand, what I mean when developed this project

I hope you will like it)

install

  • install docker and run it in background.
  • clone repository and cd ./tic-tac-toe
  • run docker-compose up --build and wait message in console Connected to MongoDB Successfully Server is Done!

For testing bot, need:

  • run server (if it not run already)
  • run docker exec -it server npm run container:migrate - for create users (if they not already created)
  • run docker exec -it server npm run container:bot - for start a bots
  • Please wait and see in console on change states game.