HomeBlockchainTic Tac Toe is played on Bitcoin SV

Tic Tac Toe is played on Bitcoin SV

Developer Zachary Weiner has announced that he has developed a smart contract for the famous Tic Tac Toe game directly on the Bitcoin SV (BSV) blockchain.

The game, dating back to Roman times, is based on a 3×3 square grid in which players take turns choosing an empty square and drawing a cross or a circle. 

Although this game may seem trivial, remember that it is often used as an example to explain the theory of games and the basics of artificial intelligence. It is a game with perfect information and zero sum, whose perfect strategy is known, that is, Nash’s balance.

Since the possible solutions are limited and it is possible to create an algorithm that practically never loses, the first game played by a computer was precisely this, OXO, developed in 1952.

Now that we have some history of the game, let us move forward in time and the era of blockchain, since the dev decided to develop the game on BSV.

Tic Tac Toe on Bitcoin SV

The contract has been developed with the Javascript programming language and contains inside it all the variables and functions that will be used to perform the various moves, with standard symbols of the game itself.

Everything has been done using Bitcoin Computer, which are the Javascript smart contract on the Bitcoin blockchain and all its forks, such as BCH, NSV and possibly the next Bitcoin Cash fork.

Surely the world of gaming and blockchain are now very close and allow a really huge outlet that still has unexplored potential. 

A short time ago was also developed the first game on Algorand, AlgoNim, which is all on-chain, but in fact the examples are varied, not to mention advanced games that also allow the use of NFT (Non Fungible Token) as those of Animoca Brands.

 

Alfredo de Candia
Alfredo de Candia
Android developer da oltre 8 anni sul playstore di Google con una decina di app, Alfredo a 21 anni ha scalato il Monte Fuji seguendo il detto "Chi scala il monte Fuji una volta nella vita è un uomo saggio, chi lo scala due volte è un pazzo". Tra le sue app troviamo un dizionario di giapponese, un database di spam e virus, il più completo database sui compleanni di serie Anime e Manga e un database sulle shitcoin. Miner della domenica, Alfredo ha una forte passione per le crypto ed è un fan di EOS.
RELATED ARTICLES

MOST POPULARS

GoldBrick