Skip to content

TicTacToe game by c# and Solidity, running on Ethereum blockchain

Notifications You must be signed in to change notification settings

hessam94/TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TicTacToe

TicTacToe game by c# and Ethereum blockchain
The TicTocToe game is a windows application game developed by C#. It is a multiplayer online game which two players can play. I used solidity to develop the backend part, which is running on Ethereum blockchain and C# for client side application. The Nethereum library is used to connect the client side with Ethereum

Test Network

we set a test network to be able to play online. You can use some pre configured test netwroks or set your net. We configured our test network. You can find how to set a test network between two or more computers here .very important point is that you MUST have the same Genesis file on all sides and give enough alloc and have all user files on all sides. (in your keystore file: UTC--...) We got help from this test chain but you should consider that the files are modified a bit, becaues teh given test chain is proper for single user applications.

Solidity

There are a few language to develop programs which can be run on Ethereum blockchain, we used the most famous one solidity. you can compile your solidity codes with Remix website or use Visual studio Code

Game description

after deploying the game through the application, address of the contract will be added to the list of addresses. so you need to choose which contract you want to play. then both players need to join the game and start to bet, one by one, until both reach to an aggrement on the bet amount.

IMAGE ALT TEXT HERE

Thanks

I really appreciate Mr. juan Blanco and Mr. Dave whiffin who created the nethereum library and resolved some issues of this project. This is my first code of Blockchain's World and I know there can be lots of improvments. i will be glad to hear from you guys.

About

TicTacToe game by c# and Solidity, running on Ethereum blockchain

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published