quick hackery
a working version
Simplify the code a wee bit
tidy up a few things
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)
remove daft comment.
final tidy