News for hackers. Stuff that matters.
Re:Students at Berlin University Build Chess Game on Ethereum by aweinstock on Tuesday September 06, 2016 @02:42PM (#12438269)
Searching the history to enforce the threefold repetition rule[1] wouldn't be efficient, but the fifty-move rule[2] could be pretty cheaply implemented (one cell of state for a counter, an increment-and-check per move, and resetting the counter to 0 on the relevant moves).

[1]: https://en.wikipedia.org/wiki/Threefold_repetition [2]: https://en.wikipedia.org/wiki/Fifty-move_rule

There are no comments on this comment yet.