Closed princeibs closed 1 week ago
I am applying to this issue via OnlyDust platform.
@princeibs I'd love to work on this. I'm a Cairo developer
I'd follow the procedures outlined in the issue to tackle this problem
I am applying to this issue via OnlyDust platform.
l'm a front end and also a smart contract developer. I will love to work on this
I am applying to this issue via OnlyDust platform.
i'm a block chain dev and would love to work on this
In the game_actions.cairo file, create the terminate_game function. Set game_state to Ended: Modify the game state to indicate that the game has ended.
Evaluate the Winner: Determine if there is a winner and update the game state accordingly. Record Game: Add the completed game to the player's history of played games. Write Unit Tests:
Create unit tests to validate the functionality of the terminate_game function, ensuring that it correctly ends the game, evaluates the winner, and records the game. Open a Pull Request:
Once completed, open a pull request to the relevant branch with your implementation and tests.
I am applying via OnlyDust Platform
I am a frontend developer and smart contract developer
The maintainer princeibs has assigned EjembiEmmanuel to this issue via OnlyDust Platform. Good luck!
Hi @EjembiEmmanuel, any progress on this?
@princeibs I apologize for the delay. I'd create a PR today
Description
The logic is expected to terminate an ongoing game. It should make the following modifications to a game state:
game_state
toEnded
Test Create unit test for this particular function to verify the correctness of the logic implemented
File(s) to modify:
game_actions.cairo