Skip to content

Commit

Permalink
More text
Browse files Browse the repository at this point in the history
  • Loading branch information
kfastov committed Nov 19, 2023
1 parent d83a529 commit 6714908
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion HowItsMade.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ The development of the ML model followed these steps:
The TicTacToe game is rooted in the PixeLAW world by registering the game with personalized game dynamics and iconography. Using Dojo, we set up the world contract to keep track of the ongoing game states between players and the ML bot. Actions such as initiating a game, player's moves, and the bot's responses leverage Dojo's world dispatcher to maintain consistency and enforce game rules within the contracts.

The React frontend delivers an engaging experience for the users by letting them interact with the game's user interface in their web browsers. Our contract ensures that moves are legal and executed in turns, maintaining the integrity of the game's progression and outcomes.
Handling an ML bot on-chain required overcoming the computational and gas limitations of smart contracts. We achieved a balance between complexity and performance, ensuring the game remains fast and cost-effective for the players. Overall, our game showcases the practicality of integrating machine learning into smart contracts and offers a fun, interactive way for the community to engage with blockchain technology.
Handling an ML bot on-chain required overcoming the computational and gas limitations of smart contracts. We achieved a balance between complexity and performance, ensuring the game remains fast and cost-effective for the players. Overall, our game showcases the practicality of integrating machine learning into smart contracts and offers a fun, interactive way for the community to engage with blockchain technology.

We deployed our game contracts to Madara, a Starknet sequencer that enhances performance and scalability using the Substrate framework and Rust. Madara supports Starknet-based Validity Rollup chains to bundle multiple transactions into a single proof, reducing gas fees. It enables smart contract execution through the Cairo VM and offers developers autonomy in choosing data, account, and consensus solutions. This deployment aligns with StarkWare's fractal scaling vision and paves the way for rapid Starknet app chain development and aiming for future L2 settlement functionality.

0 comments on commit 6714908

Please sign in to comment.