hawkrobe / reference_games

Conventions in iterated reference games
8 stars 8 forks source link

Set up writing to mongodb for all experiments #15

Open hawkrobe opened 7 years ago

hawkrobe commented 7 years ago

This would be a small chunk of #13, where each experiment exposes a writeData function/object and the back-end handles writing to CSV & mongo.

Currently only implemented in sketchpad_repeated

hawkrobe commented 7 years ago

After PR #17, just need to go through each game's game.server.js and

  1. remove startGame,
  2. refactor writeData to dataOutput associating relevant events with a function creating a data object