keep-starknet-strange / tsubasa

Tsubasa onchain game built with Dojo, running on a Starknet Appchain.
https://play.tsubasa.win
MIT License
59 stars 30 forks source link

Implement `draw_card` system #54

Open 0xLucqs opened 1 year ago

0xLucqs commented 1 year ago

Description

At every turn each player will draw a "random" card. To generate a """""""random""""""" number you can hash together the block_number and block_timestamp then make it modulo the number of cards remaining in the deck. (any other way can be good also.

Acceptance criteria

TeddyNotBear commented 1 year ago

Can i take this one ?