Reimplement the game-over menu in Lua.