1. Welcome to Smogon! Check out the Smogon Info Hub for everything you need to know about starting out in the community. Don't forget to introduce yourself in the Introduction Thread, too!
  2. Welcome to Smogon Forums! Please take a minute to read the rules.
  3. Ever find yourself missing out on the latest Smogon articles? We've now got a subscription service, so the newest articles (of your choice) are delivered right to your inbox! Check it out here.
Last Activity:
Jun 26, 2013
Dec 20, 2004
Trophy Points:

Followers 1

Mar 17, 1992 (Age: 23)
Outside your window.... your bedsheets need fixing
    1. jumpluff
      Happy birthday!
    2. Zacchaeus
      Happy birthday
    3. 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
      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
      You can just ask me here...
    6. afterburn
      np man, use it all you want lol :P
      Happy birthday man!
    8. Lady Salamence
      Lady Salamence
      Happy Birthday.
    9. cantab
      I've never had any trouble with Java on Linux. What is the problem you're having?
  • Loading...
  • Loading...
  • Loading...
  • Signature

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

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


    Mar 17, 1992 (Age: 23)
    Outside your window.... your bedsheets need fixing
    DP Friend Code:
    3394 0060 2246
  • Loading...