Moved game-over? function to before first use

Otherwise the file won't compile...
Make tests a bit more succinct