records move history of game and displays it at the end