Skip to content

Files

game256

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 15, 2024
Jan 15, 2024

256 game

game256_contracts.py implements the game of doubling 8 times, the toy example used in this post to the bitcoin-dev mailing list.

There is no interactive tool to play with these contracts, but they are tested in the pytest test suite.

The actual code of the bisection protocol smart contract, which is independent from the specific computation, is in hub/fraud.py.