This is for #330 to change gameState to string, but working from
James' cyclomatic_complexity branch instead of the working repositor