Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Latest commit

 

History

History
21 lines (15 loc) · 761 Bytes

day6.md

File metadata and controls

21 lines (15 loc) · 761 Bytes

Day 6

Goal of the day is to get the server into a state to accept create game commands. Use integration code recently pushed to stefaneg/hgop2015 as a reference. You can copy-paste all new logic introduced in this push. You will also have to refactor commands/events to work with gameIds.

Note that you should NOT replace your implementation of tictactoe. You must take your implementation and put in place of mine (tictactoeCommandHandler.js).

You are done when you can post a create game command and get events with id back.

Hints:

  • You'll have to install 'q' to use the memory store.
npm install q --save

  • Change gameHistory.spec.js to match your commands.
  • Adapt routes.js and change the verbs there to match those in your commands.