Use a closure to eliminate the code smell GameState
Use a closure to eliminate the code smell GameState

The reason that it is a smell is that we are only updating one part of
it (secret was constant)

fffej/codekatas,fffej/codekatas,fffej/codekatas