realm-of-ra / mancala

https://meowing-anteater-cee.notion.site/Mancala-Game-MVP-7521e2f2e5294575b33b17601afde810
MIT License
11 stars 31 forks source link

Add Status enum to MancalaGame #23

Closed web3technologies closed 4 months ago

web3technologies commented 4 months ago

An enum with status PENDING, IN_PROGRESS, FINISHED, FORFEITED should be added to the MancalaGame storage with a field named "status". Then these status should be updated upon different functions in the game.

When a game is created the game should be status PENDING When a player_two joins the game the status should be IN_PROGRESS If the game is forfeited the game status should be updated to FORFEITED When the game is over the status should be set to FINISHED

Dojo documentation on implementing Enums into Models: https://book.dojoengine.org/framework/models/enum

TEMHITHORPHE commented 4 months ago

Can I take this ?, is it assigned yet ?

okhaimie-dev commented 4 months ago

@TEMHITHORPHE I just assigned this to you

TEMHITHORPHE commented 4 months ago

🚀 Acknowledged sensei 🥲

web3technologies commented 4 months ago

@TEMHITHORPHE do you have any status updates on this task? Are there any blockers or do you need some assistance?

This issue is blocked until this issue is resolved: https://github.com/realm-of-ra/mancala/issues/44

TEMHITHORPHE commented 4 months ago

Hey mahn, apologies for going AWOL on this, had serious health challenges, made me forgot I had a commitment somewhere.