Game end implementation.