Creating a Card Game Script

Discussion in 'Scripts, 3rd Party Apps, and Programming' started by Rhianna, Jan 27, 2005.

  1. Rhianna

    Rhianna New Member

    Messages:
    988
    Likes Received:
    0
    Trophy Points:
    0
    Hi,

    I'm on a quest to create a card game script.
    You can read all about my quest at freewebspace.net here
    I like tarot cards and I would like to program images of tarot card spreads on my site to offer free readings. I'd like to display the cards and my interpretations of those cards automatically.

    This is an interesting programming project & I know the results won't be instant.
    I've been thinking of various ways of creating the script.

    I am thinking of using PHP and possibly Java or CGI.PERL. What other scripting langages would you use? This is something that interests me, so I will try to begin at a simpler level and then progress.
    Right now I have been looking into how to create Arrays:

    I am currently reading a book entitled Relational Database Design Clearly Explained by Jan L. Harrington and in the future would like to merge interpretations into databases so that my online readings could become very complex (that's a bit into the future).

    I am a beginning programmer & I am considering various scripts that I might use and/or build upon. Has anyone he created a card game program like Poker or Keno or anything? If you wanted to download a free zip file of (regular) playing card images (gifs) for either personal or professional use, you could do so at
    http://www.jfitz.com/cards/
    and create a solitaire game or other card game. If you are interested in programming arrays or programming objects such as cards and shuffling them at random, be sure to read
    this post of mine because I included many educational links to programming so that others might learn & benefit from this project of mine :)
    So please take a look and if you have any ideas, post them to this forum or PM me either at x10Hosting or at PCRiot :)

    Thanks & Happy Programming :)
     
    Last edited: Jan 27, 2005
  2. Rhianna

    Rhianna New Member

    Messages:
    988
    Likes Received:
    0
    Trophy Points:
    0
    Thanks for the tip on ScriptLance but I am trying to learn how to do it myself if I can :eek:

    I found some interesting PHP scripts & I'm just thinking of ways to adapt them.

    Thanks

    Rhianna
     
  3. clement

    clement New Member

    Messages:
    146
    Likes Received:
    0
    Trophy Points:
    0
    good luck with your quest rhianna..i'm sure you can reach that goal =p
     
  4. Rhianna

    Rhianna New Member

    Messages:
    988
    Likes Received:
    0
    Trophy Points:
    0
    Thanks, Clement. :)
     
  5. phenetic

    phenetic New Member

    Messages:
    490
    Likes Received:
    0
    Trophy Points:
    0
    good luck, keep keeping us updated!
     
  6. Conor

    Conor New Member

    Messages:
    3,570
    Likes Received:
    0
    Trophy Points:
    0
    What exactly ARE tarot cards?

    Maybe you can also look at Java.....you could combine Java scripts too :)

    www.hotscripts.com

    Post there and see what they think :)
     
  7. Rhianna

    Rhianna New Member

    Messages:
    988
    Likes Received:
    0
    Trophy Points:
    0
    Thanks for the tip. I went to the library and borrowed some books on Java today & they look very promising & helpful in terms of what I'd like to do :)

    A tarot card deck is made of 78 cards: 56 cards are part of the "Minor Arcana" which is divided into 4 suits numbered Ace through 10 with court cards.

    Then there is a "Major Arcana" (22 cards) known as "Trump cards" depicting major figures and numbered I to XXI with an unumbered "Fool."
    Some see tarot cards as a pictorial presentation of Medieval & Renaissance times (when the cards first appeared). There was a popular Italian game of Tarocco which is related to our tarot deck.
    I'm a big Medieval & Renaissance history buff, so that's how I initially became attracted to the cards. You can see a medieval deck online called the Marseilles Tarot

    Somehow tarot cards "survived" a few centuries to be "re-discovered" by occultists during the late 18th Century.

    Tarot cards are often associated with fortunetelling and thus some religious groups denounce tarot cards. I think anyone who denounces tarot cards is taking the cards too seriously. Tarot cards can be lots of fun as an entertainment medium & that's what they are good for. It is absurd to believe that tarot cards could really predict the future :D

    Here's a good background to tarot

    Playing cards & Tarot

    If you'd like to see all the Rider-Waite images online:
    http://www.swcp.com/pcaskey/tarot/INDEX01.JPG
    http://www.swcp.com/pcaskey/tarot/INDEX02.JPG
     
  8. Conor

    Conor New Member

    Messages:
    3,570
    Likes Received:
    0
    Trophy Points:
    0
    Well glad I could help. :)

    Sounds interesting. Will check out the links later on.
     
  9. Rhianna

    Rhianna New Member

    Messages:
    988
    Likes Received:
    0
    Trophy Points:
    0
    I borrowed a bunch of Java books from the library. The good thing about Java 2: The Complete Reference, Fifth Edition by Herbert Schildt [McGraw-Hill/Osborne] is that the source code for the examples & projects from the book are available for free download here

    I should be able to look at and adapt different examples of code to create some type of card script to add interest to my site :)
     
  10. Conor

    Conor New Member

    Messages:
    3,570
    Likes Received:
    0
    Trophy Points:
    0
    Didn't I post here? Anyways give your site a makeover when your done the script! It needs one IMHO. ;)
     
  11. Rhianna

    Rhianna New Member

    Messages:
    988
    Likes Received:
    0
    Trophy Points:
    0
    Look at page 1 of this thread. You suggested using Java & then asked what tarot cards are. The entire thread is there.

    You told me to get a makeover in the domain/subdomain forum :D
    Once is enough, honey :D
    I told you I'm planning a makeover :D
     
  12. Conor

    Conor New Member

    Messages:
    3,570
    Likes Received:
    0
    Trophy Points:
    0
    Ya something is going on and its confusing me....Sorry? :p
     
  13. skfung

    skfung New Member

    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    wow~that is a good idea to make a game
    and hope you can do it
     
  14. nicholas

    nicholas New Member

    Messages:
    772
    Likes Received:
    0
    Trophy Points:
    0
    i hope u succeed in creating card script for tarot becoz i like tarot cards alot... :)
     
  15. ShadowStriker

    ShadowStriker New Member

    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    0
    yes java would also do the work. my opinion i suggest reading the book entiled: "Java A Beginner's Guide (if you are a beginner)

    Herbert Schilt is the author. the authors website: www.herbschildt.com

    Herbert Schildt is a very popular programming author.
     
  16. ShadowStriker

    ShadowStriker New Member

    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    0
    but card scripts have been made before... just search on a couple javascript website and you should find what you are looking for. but if you want to make one you can of course...its possible...lol
     
  17. MicrotechXP

    MicrotechXP New Member

    Messages:
    7,644
    Likes Received:
    0
    Trophy Points:
    0
    Why is this old thread been brought up after a long time ago?
     
  18. n4tec

    n4tec Active Member

    Messages:
    3,312
    Likes Received:
    0
    Trophy Points:
    36
    MicrotechXP, Is right about that?

    *4*
     

Share This Page