Test JavaScript dont le but est de reproduire le jeu TIC TAC TOE alias MORPION ( en francais ).
Ce test incluera un diagrame D3JS des probabilités.
Et si le temps me le permet une IA / Solution Mathématique pour jouer contre l'ORDINATEUR.
This technical test includes the latest powerfull tools.
- Typescript - Superset of JavaScript which primarily provides optional static typing, classes and interfaces.
- Express.js- Handle Requests
- Tslint - The pluggable linting utility.
- Jest - Javascript testing framework
- CucumberJS - Behavior Driven Devellopment framework using Gerkin Syntax unit & functional tests
$ git clone https://github.com/maissani/packettestback.git backend
$ cd backend
$ npm install
Create a .ENV File
MONGO_URL="mongodb://localhost:27017/packetaidev"
Run the server
$ yarn dev
Then run the test suite
$ yarn watch
or
$ yarn test
Create a .ENV File
MONGO_URL="mongodb://localhost:27017/packetaiprod"
Compile the sources
$ yarn build
Then the server
$ yarn prod