Skip to content

Latest commit

 

History

History
60 lines (34 loc) · 1.32 KB

README.md

File metadata and controls

60 lines (34 loc) · 1.32 KB

This is an API repository of a very basic game Tic-Toc-Toe. This project was done in a very short period of time, as I had to submit this as an assignment of a recruitment process.

Frontend

For Frontend repository, please visit https://github.com/bonnopc/tic-toc-toe-frontend.

Task/Requirement

Program the game with crosses:

-X-|---|---

---|-X-|---

---|---|-X-

Basic requirements:

  • Two users play a game of tick-tack-toe on the same computer

  • No real-time functionality is required

  • Single session

  • All actions are reported to the API, which saves them

  • Action log is displayed underneath the game area, read from the API

  • The game must resume completely if the browser is refreshed

What you should use:

  • React + Redux

  • Node.js

  • Docker

  • Anything else you want.

Notes:

  • No need for any fancy styles. Plain and simple with the least amount of effort.

  • Layout must be done using flex box.

  • Result of task must be a link to two Github repos, containing both frontend and API project sources and readme

  • Using seeds or anything else that will get you started faster is allowed and encouraged.

Quick Start

cp .env.example .env

Update ENV variables as per your configurations. Then run these commands..

npm i
npm start