ChessMod

ChessMod

104k Downloads

Implement the Tournament Board

ramou opened this issue ยท 0 comments

commented

Diamond and obsidian instead of iron and coal!

It should track game lifecycle:

  • Unassigned (no players, previous player has requested reset)
  • Waiting for Player to Join (one player has initiated)
  • Waiting to Start (the second player has accepted challenge)
  • Playing (black has begun the timer, or directly here if no timer)
  • Done (checkmate, draw (manual or auto), concession)

This means it must track the two players, what side they control and board state, and allow appropriate transitions between Board States.

State transitions should have some guarantee. After a configurable amount of time without a move, the other player may claim victory or draw. After a configurable amount of time, a challenge may be rescinded. After an appropriate amount of time, either player may reset a tournament board to the unassigned state. Default timing guarantees should be mod-configurable.

Tournament Board guarantees can be altered by the application of a timer.

I've been on the fence about board breaking. In the end, I've decided that if you break a board, its state is cleared and there is no tournament result. If a player gets a reputation for being an ass about playing, folks just won't play with them on that server, and that's better than my farting around with an overbearing technical solution.

  • Challenging a Player to a game 46
  • Support Elo Rankoing 28
  • Ranking Board 65