realm-of-ra / mancala

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

Implement Timer for someone leaving the Game #55

Closed web3technologies closed 3 months ago

web3technologies commented 3 months ago

If someone doesn't make a move for n number of seconds we need to forfeit the game.

linear[bot] commented 3 months ago

MAN-4 Implement Timer for someone leaving the Game

TAdev0 commented 3 months ago

hi @web3technologies @okhaimie-dev may i work on this issue? :)

web3technologies commented 3 months ago

@TAdev0 assigned to you!

TAdev0 commented 3 months ago

great thanks!

TAdev0 commented 3 months ago

@web3technologies its the first time I use dojo I cannot compile the repo, because of this errror:

error: compiler plugin could not be loaded `dojo_plugin v0.3.11 (git+https://github.com/dojoengine/dojo?tag=v0.3.11#1e651b5d4d3b79b14a7d8aa29a92062fcb9e6659)`

any idea?

web3technologies commented 3 months ago

2 things.

  1. Are you using scarb build or sozo build? (Dojo requires the use of sozo not scarb) run sozo build and sozo test
  2. What version of scarb are you using? The scarb.toml is using cairo-version = "2.5.4"
TAdev0 commented 3 months ago

ok thanks i need to use sozo build (first time as well)

yeah i saw its 2.5.4, i'm using ASDF, i use the latest by default but created a .tool-versions locally to work with 2.5.4 on the repo

Is there any way to get rid of VSC extension error detection like get! macro (which is specific to dojo i guess) ?

web3technologies commented 3 months ago

In dojo 0.6.0 there are many issues with the language server. Cartridge has said when they release 0.7.0 soon there will be many updates to the language server to fix this. When this is released we will be migrating over to 0.7.0 but for now we have to manage the errors.

TAdev0 commented 3 months ago

got it, thanks!