• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
wanderer86

Advice for a CCG

10 posts in this topic

This is  actually my first forum post, ever, so if I'm too forward, I apologize but I really want to get my game into production.  

I'm currently trying to build a web-based, digital CCG(collectible card game) and I need some advice on implementing it.  I am definitely a beginner, but I have been doing a lot of reading up on it, so I at least know terminology.

I'm thinking it's going to be programmed in Java, with an XML database for card lists, and I'll probably need to work with php so people can sign up and get stored in a database that will keep track of player stats (like win/losses, cards players own, decks, etc).

The game will be turn based and will only be played with others(No AI), and in addition to the gameplay itself, I'll also need to make a lobby where games can be set up and an area where players can build and edit thier decks.

 

My question is:  Am I on the right track?  Should I use a different language?  Any recommendations that could help me out?  Thank you for your guys' help.

0

Share this post


Link to post
Share on other sites

Why Java and PHP? I would have expected Javascript to do anything you need to do in the webbrowser, which might even be skippable depending on what you want to do with your cards. e.g. if the player just needs to click a card, then you can skip JS, make a normal hyperlink out of say an <img> like "play?dosomethingwithcard=5" so the page reloads and do everything on the server to perform the action and make some new HTML.

 

Then on the server Javascript (node.js), Java, PHP, .NET or similar to store players and cards, and implement the game logi.

0

Share this post


Link to post
Share on other sites

SyncViews, thanks for your advice, but i don't think I could implement it very well in html, the gameplay is going to be somewhat more dynamic, it's going to have some strategy game elements, so a player moves tokens around the board while playing cards during their turn, it might be able to be done in html, but it probably wouldn't react to players properly.  And I honestly haven't really read anything on php, I just thought that would be what would be used to take player info and automate the "joining" process, I'm not sure what would be the best language for that.  If I did the game in Java, would I be able to implement processes like "joining", shopping for cards and deck building and saving all in Java? 

0

Share this post


Link to post
Share on other sites

I imagine both, unless there's a better option, as of right now, java is just the "web" language I'm familiar with, so I'm not sure what else to use.

0

Share this post


Link to post
Share on other sites
&nbsp;

And I honestly haven't really read anything on php, I just thought that would be what would be used to take player info and automate the "joining" process, I'm not sure what would be the best language for that. &nbsp;If I did the game in Java, would I be able to implement processes like "joining", shopping for cards and deck building and saving all in Java?&nbsp;

&nbsp;
If you have no experience with PHP, don't start. PHP is horrible and unfit for most purposes; even Perl is designed better.

Java should be perfectly suitable for a server, and HTML+Javascript for a decent web client with animations of moving cards.
Avoid Java applets, as they are a security threat and the plugin isn't common enough, and if possible Flash.

Are you sure you know Java well enough to start a large and complex project? For instance, I'd expect someone who plans to use the language to be aware enough of JDBC to not ask about "saving".
0

Share this post


Link to post
Share on other sites

Actually LorenzoGatti,  I don't think I know i well enough to create something of the scope I want to, which is why my first attempt at it will be something simple It'll probably look like a board game, as I'm digitizing my paper prototype.  But if I don't get started, I never will, so I've read through a few books to get a basic understanding, and I'm going to crank it out, even if It takes me a few years.  And as for 'saving' I was asking if Java could be used to read (such as getting cards to go in a 'booster') and write (like storing the cards in the booster to a player's data) data to a database (Which I'm sure can, the question is more, 'Is there a more efficient language for something like this?').

0

Share this post


Link to post
Share on other sites

Actually LorenzoGatti,  I don't think I know i well enough to create something of the scope I want to, which is why my first attempt at it will be something simple It'll probably look like a board game, as I'm digitizing my paper prototype.  But if I don't get started, I never will, so I've read through a few books to get a basic understanding, and I'm going to crank it out, even if It takes me a few years.  And as for 'saving' I was asking if Java could be used to read (such as getting cards to go in a 'booster') and write (like storing the cards in the booster to a player's data) data to a database (Which I'm sure can, the question is more, 'Is there a more efficient language for something like this?').

 

What do you mean by XML for the card lists? The lists of cards owned by players, or the lists of cards available? Do you intend to use any existing database management system? I'm a bit confused about what your database actually is, and how you intend to use PHP.

0

Share this post


Link to post
Share on other sites

I suppose the card lists would be for cards available, with variable sets for each type of card, and method names for the abilities (this will be a ccg kind of like Magic:TG, with creatures and spells for the different cards).  I'm not sure about databases honestly, I just figured a database is the direction I want to go as I want to add expansions to it if it does well.  As for php, I just thought that it's what is used (Or at least the most efficient way) to automate the "joining" process, like when we signed up to use this site. 

0

Share this post


Link to post
Share on other sites

Hi, most of what I was going to say is said. Using java for backend is fine, but stick to HTML/JS for front end. You should find books specifically on HTML/JS game development. While you are at it, you should check out JQuery. You should probably stick to AJAX instead of simple HTML get/post. That way the game will feel smoother.

 

Another suggestion I have is to try make smaller games first.

1) Rock scissor paper - This may sound stupid but it is the fastest way to get something working and give you an idea on how to do all the things you will need in your CCG.

2) Checkers

3) Bridge

4) Poker 

 

I don't really have a good idea on how game development is done with HTML/JS but I would really suggest starting small. CCG is really a huge project as a first project.

0

Share this post


Link to post
Share on other sites

Thanks ZwodahS,

I have made a few smaller games, but only in c++.  But you do have a great point, I'm going to try to pull something smaller together first in js and html, maybe blackjack, but the CCG is my endgame, and regardless of the work involved, I'm going to make it happen.  But you, like the other posters, are right, I'm probably trying to run before I've even gotten crawling yet.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0