Go Back   Smogon Community
Register FAQ Social Groups Calendar Search Today's Posts Mark Forums Read

Paperfairy Paperfairy is offline

Visitor Messages

Showing Visitor Messages 1 to 9 of 9
  1. jumpluff
    Mar 17th, 2012 5:04:07 AM
    jumpluff*
    Happy birthday!
  2. Zacchaeus
    Mar 17th, 2012 1:29:34 AM
    Zacchaeus
    Happy birthday
  3. Zarel
    Jan 3rd, 2012 7:56:28 PM
    Zarel*
    Well, the client and server of my simulator are written in JavaScript, mostly, but there's also the usual HTML/CSS/jQuery, Node.js and socket.io in the backend, and a little bit of PHP in some places.

    A TCG simulator is a pretty huge undertaking. You might want to practice with making some easier card games. Say, Solitaire - make a Web-based copy of that game that comes with Windows.

    Your deck is going to be an array. There are a lot of ways to represent cards. You could number them 1 to 52 and store them as numbers, or you could use strings like "3h" "5d" "Kc".

    To put cards wherever you want on the screen, you'll need to use CSS's "position:absolute". Read up on that if you're not familiar with it. You'll probably also want jQuery's "animate()" to animate them and make them fly around as you click on them.

    I hope that's enough advice for you to get started. Feel free to ask me if you get stuck. Good luck!
  4. Zarel
    Jan 3rd, 2012 2:23:34 AM
    Zarel*
    Server-side is a good place to go next. PHP is what I learned (even before JavaScript) and it used to be the most popular, but it has lots of flaws. On the other hand, it's really easy to get into.

    I honestly don't know what to recommend. Python and Django seem popular, as does Ruby on Rails. Choose what you like.

    Pick a goal. Work towards that goal. Repeat. That's how you learn, really.

    And make that goal feasible. I made a replay player before a simulator. That way, I could do the whole project one step at a time, and it turned out to be much better than trying to build a simulator from scratch.
  5. Zarel
    Jan 3rd, 2012 1:23:20 AM
    Zarel*
    You can just ask me here...
  6. afterburn
    Apr 5th, 2011 3:49:05 AM
    afterburn
    np man, use it all you want lol :P
  7. STEELDRAGON
    Mar 17th, 2011 2:15:45 PM
    STEELDRAGON
    Happy birthday man!
  8. Lady Salamence
    Mar 17th, 2011 1:36:32 PM
    Lady Salamence
    Happy Birthday.
  9. cantab
    Dec 23rd, 2009 2:01:27 PM
    cantab
    I've never had any trouble with Java on Linux. What is the problem you're having?

About Me

  • Personal Information
    Location
    Outside your window.... your bedsheets need fixing.
  • Friend Codes
    DP Friend Code
    3394 0060 2246
  • Signature

    [00:46] Vineon: hi paperfairy, old founder member of smogon

    “Pokémon Grand Central Station—for all your battling desires!”

Statistics

Total Posts
Visitor Messages
General Information
  • Last Activity: May 12th, 2013 8:45:42 PM
  • Join Date: Dec 20th, 2004
  • Referrals: 0

Contact Info

Instant Messaging
Send an Instant Message to Paperfairy Using...
This Page
http://www.smogon.com/forums/member.php?u=36

All times are GMT -4. The time now is 3:51:21 PM.