I'm interested in learning to program card game, any tips where I could start ?
-
Its hard to any response from the Fuze Team, I'm interested in learning to program card game,
any tips where I could start ? -
@kendog400 I would suggest that you start with the tutorials here: https://fuzearena.com/help (on the left hand side)
There are also some videos here: https://fuzearena.com/forum/category/6/tutorials
-
Might be helpful to say what kind of cardgame? Poker, Blackjack etc?
-
Well for any card game your probably want to use a "real" 52 card deck. You can do this by having an array for keeping track of numbers used in deck (so a number is not used twice) and array to store the cards in the deck. The best way is to use integer from 1 to 52. 1 being ace, 11 jack, queen 12, etc. 1-13 would be clubs. 14-26 diamonds, etc.
Once you have completed the shuffling, the next step would depend on your game. Generally you will want to have a variable to keep track of card number you currently on in your deck. You will also want to keep track of cards being used or at least the total of your cards if your doing blackjack. If doing a poker game your gonna need logic to detect winning hands. If your doing a solitaire type game, your definely want to store every card in play to make sure a card can be placed on another card. Its best to store in an array and have program refresh the screen based on value in cards used array.
Sorry if im being a little too general, but not sure what card game you want to make
-
@kendog400 said in I'm interested in learning to program card game, any tips where I could start ?:
Its hard to any response from the Fuze Team
Although I'm not sure, I'm guessing by this you mean that your registration took a while to be approved, given this is your first post.
Please see this thread for more info on that process: https://fuzearena.com/forum/topic/24/community-approval-process
Particularly the 4th paragraph about our availability.