Skip to content
James Stanley edited this page May 11, 2020 · 58 revisions

Still to do:

autopatzerui

  • Cancel a seek
  • Cancel the "create a seek" window to get back to homescreen (e.g. to power off the pi, or choose an existing game instead)
  • Resign, offer draw, claim draw, claim victory
  • detect game aborted and show user (waiting on https://github.com/ornicar/lila/issues/6599)
  • button to go back to home screen to start/join another game
  • keep cursor hidden even on button elements or whatever
  • fix glitchy clocks

autopatzerd

  • Serial port doesn't always work at first?
  • rfb: make the king do a victory dance

Board

  • Limit switches instead of crash-homing
  • Why do the steppers whine at idle?
  • Would a Trinamic silent stepper driver make it run quieter (both at idle and in motion)?
  • Try reversing the polarity on the electromagnet and see what can happen
  • bottom cover so the wires can't get snagged
  • Fix floppy pulley bracket

gameState fields

moves

List of moves of the game, in UCI format.

wtime, btime, winc, binc

Time and increment for white and black players, measured in milliseconds.

wdraw, bdraw

True if the white or black user, respectively, has offered a draw.

status

Possible values:

From https://github.com/ornicar/lila/blob/master/ui/game/src/status.ts

  • created
  • started
  • aborted
  • mate
  • resign
  • stalemate
  • timeout
  • draw
  • outoftime
  • cheat
  • noStart
  • variantEnd

We should probably check for game ended by status != "started" rather than trying to enumerate every possible status. We could just display the status on-screen in the event that we don't recognise it.

winner

Either "white" or "black", once the game has ended.

rematch

Not sure what value this field will have. Presumably some indication that the other player has offered a rematch?

More

What does it look like if you get the "claim draw" or "claim victory" buttons?

Clone this wiki locally