Implemented closing games

Fixes #53