Skip to content

idokleinman/ethereum_tictactoe

Repository files navigation

ethereum_tictactoe

Ethererum smart contract for multiple TicTacToe 2 player games

See ./contracts/tictactoe.sol for Solidity contract code

This is run in a Truffle box on a JS VM machine or on Remix for direct interaction via https://remix.ethereum.org/

Functions

makeGame - create a new game, receives player1_address, player2_address, returns gameid makeTurn - make a turn in the game, receives gameid, square_x, square_y, returns KEEP_PLAYING, WIN, LOSE, DRAW

About

Ethererum smart contract for multiple TicTacToe 2 player games

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published