Jump to content

Theory for TCG?


Recommended Posts

I want to make TCG in JavaScript / Phaser.js, and I want you to tell me if this is a good way to implement card in game.

For each card I will have file with card ID and when player place card it will load card with specified ID.

If you know some better way, let me know :)

Link to comment
Share on other sites

I dont know what TCG is, but you've given us very little to go on.


From what you have said though, why wouldn't you load all your cards and stuff at the start? Users will accept a short startup delay but will probably get annoyed at loads of small delays whilst playing. You want the playtime to be smooth as possible with as few distractions (unless delays are a specific part of your game play, they are a huge distraction) so your user stays right there in your game world.


JS and Phaser is more than capable of creating most types of games (you could argue all) and I think the web is a great fit for card games which are inherently multi player.

Link to comment
Share on other sites

I think "TCG" means "Trading Card Game" but that's just a guess, and I think the intention is to support thousands of cards / variants.

Re the OP's question, if it's all to be client side and a fixed deck then you'll likely end up with a single json/xml document describing all the cards in the end (don't let this stop you starting with separate files in the beginning though). If you're aiming for multi-player and server side logic then I suggest it would be sensible to store card information in a database (again don't let this stop you from prototyping/starting with files if that will be more productive for you to develop and/or tweak/tune)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...