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 for over 8 years with a dozen of developed apps, Alfredo at age 21 has climbed Mount Fuji following the saying: "He who climbs Mount Fuji once in his life is a wise man, who climbs him twice is a Crazy". Among his app we find a Japanese database, a spam and virus database, the most complete database on Anime and Manga series birthdays and a shitcoin database. Sunday Miner, Alfredo has a passion for crypto and is a fan of EOS.