Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    I'm interested in learning to program card game, any tips where I could start ?

    Help
    5
    5
    178
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kendog400 F last edited by

      Its hard to any response from the Fuze Team, I'm interested in learning to program card game,
      any tips where I could start ?

      pianofire Martin 2 Replies Last reply Reply Quote 0
      • pianofire
        pianofire Fuze Team @kendog400 last edited by pianofire

        @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

        1 Reply Last reply Reply Quote 0
        • SteveZX81
          SteveZX81 F last edited by

          Might be helpful to say what kind of cardgame? Poker, Blackjack etc?

          1 Reply Last reply Reply Quote 0
          • R
            rdurbin F last edited by rdurbin

            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

            1 Reply Last reply Reply Quote 1
            • Martin
              Martin Fuze Team @kendog400 last edited by MikeDX

              @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.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post