realm-of-ra / mancala

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

added restart game function #107

Closed the-first-elder closed 1 week ago

the-first-elder commented 1 week ago

Tagging, https://github.com/realm-of-ra/mancala/issues/42# added restart_game function to model.

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mancala ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 22, 2024 11:55pm
mancala-pkco ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 22, 2024 11:55pm
okhaimie-dev commented 1 week ago

@the-first-elder this solution is incomplete, and the restart function needs to be implemented in the systems/actions to alter model state so it can be called on the frontend.

see: https://book.dojoengine.org/framework/contracts/systems for how systems work

also add the proper test to ensure your solution works.