name write/read more appropriately as display/get
improve the unit tests and fix game-over conditions and handling