diff options
-rw-r--r-- | play.html | 2 | ||||
-rw-r--r-- | rules.js | 11 |
2 files changed, 0 insertions, 13 deletions
@@ -239,8 +239,6 @@ body.Observer #hand { display: none } <li><a href="info/rules.html" target="_blank">Rules</a> <li class="separator"> <li id="sort_tiles_menu" class="unchecked" onclick="toggle_sort()">Sort tiles - <li class="resign separator"> - <li class="resign" onclick="confirm_resign()">Resign </menu> </details> </div> @@ -189,17 +189,6 @@ exports.view = function (state, player) { return view } -exports.resign = function (state, player) { - game = state - if (game.state !== 'game_over') { - if (player === RED) - goto_game_over(BLUE, RED + " resigned.") - if (player === BLUE) - goto_game_over(RED, BLUE + " resigned.") - } - return game -} - function goto_game_over(result, victory) { game.state = "game_over" game.active = "None" |