How to do something when initializing the game? #1201
Unanswered
S-N-O-R-L-A-X
asked this question in
Q&A
Replies: 1 comment
-
Do you mean you want the players to start the game with some cards in hand? If so you can do that in the setup function. The return is a game object that you can update before returning, so you can import the deck and pop cards off into the player's hands first. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am really new to this framework. How can I initialize the game? BTW, gitter is 404 to me. Is there another platform to discuss?
For example, if I want to make both players have draw some cards from deck after importing, what can I do?
Beta Was this translation helpful? Give feedback.
All reactions