skeleton for a board game - Printable Version
+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Game Design (/forum-5.html)
+--- Thread: skeleton for a board game (/thread-8332.html)
skeleton for a board game - sefiroths - Nov 19, 2010 02:22 AM
i'd like to discuss about how to implement a board game skeleton to make it reusable for more games of the same type. so...how to organize classes, what classes do, which methods, ecc...
i use openglES and objective-c
RE: skeleton for a board game - OneSadCookie - Nov 19, 2010 09:36 AM
Write two and see what you can share between them.
RE: skeleton for a board game - sefiroths - Nov 19, 2010 11:49 AM
sorry, i haven't understood the answer
RE: skeleton for a board game - ThemsAllTook - Nov 19, 2010 01:06 PM
The suggestion was to write two different board games first, and analyze them after the fact to see what common code exists. Trying to figure out a generic solution to something like this ahead of time without basing it on direct experience tends not to be productive, because you end up writing code based on speculation rather than what you know you actually need.
Perhaps more relevant to what I presume is your situation, if you want to write a board game and think you might want to write another one after, don't worry about the second one until the first one is written.
RE: skeleton for a board game - sefiroths - Nov 20, 2010 02:22 AM
now is all clear. thanks for the tips
RE: skeleton for a board game - HMaudio - Nov 30, 2010 11:50 AM
If your games are going to be very similar but skinned differently and tweaked slightly, such as a sci-fi game compared to a fantasy game, makes sure to keep copies of your bare-bones code, before you've added all the sounds and art. If you ensure that you can go back and easily tweak numbers (2d6 here instead of 1d6) and that it is clean, then you can reuse a lot of the elements for your next incarnation. It seems like organization is key, so that you're not wasting time trying to backtrack and remember, instead, moving forward with drop-in assets and design balance.
RE: skeleton for a board game - ThemsAllTook - Nov 30, 2010 12:51 PM
Even better if you use a proper version control system, like svn or git.