building up game history on JS side. Still WIP