Question

Game Design 101 for a newbie

Asked by: knowlton

I have a simple 2D board game I am trying to write in C#.

I need some help with the design...all of it.

I need some good recommendations on articles that talk generally about game design. How do I take an idea and design it.

There are a lot of elements I want to pull together:

-I want to leverage OOP in my design.
-There will be a game board and game piece that you drag and drop to make game moves.
-I have the game rules written out but not sure how to design the way to enforce them.
-I want P2P internet play ability.
-I want chat ability
-I need to save the game
-I need to be able to load in saved games
-I want a level editor so I can make game boards
-Support for sound


All of these things need to be designed, but I don't know how.



Thanks!


Tom

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2006-12-14 at 11:08:53ID22093733
Tags

game

,

design

,

101

Topics

Game Programming

,

3D Graphics Software

,

3D-Studio 3D Graphics Software

Participating Experts
8
Points
500
Comments
14

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Network Game - The Basics
    I have a simple board game (kind of like Stratego) that I'm trying to write in C++ Builder. I'm writing it on a stand-alone computer with no way to test the game as a network game (no way that I know of, atleast). Is it possible to develop (and test) a network game on a sta...
  2. Looking for tips on porting old DOS game (Tom Landry Foo…
    Long ago, as my Master's project, I wrote "Tom Landry Strategy Football" on the Amiga, in C. It was ported to DOS and the Mac. Unfortunately, Merit went out of business, and I moved on to the cold corporate world, where I worked in C for several years, but have sp...
  3. programming a game in C
    Hi. I'm learing C at the moment and was wondering what sort of tools/programmes etc would i require to create a doom-style game, and do you know of any really good tutorials for creating games using C? ok, thanx
  4. P2P Hacker tools like "Phatbot"
    Hello, We have been worried about P2P hacker tools for a while but it seems like it is being recognized as a bigger problem. Please see this news story: http://story.news.yahoo.com/news?tmpl=story&cid=1804&ncid=1804&e=3&u=/washpost/20040317/tc_washpost/a444_...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: JoseParrotPosted on 2006-12-14 at 19:38:21ID: 18144207

Hi, Tom,

This is a 5000 points question... Each topic you ask for is a complete question with a number of options.
Of course, we understand you want to develop a good game, with good design and coding.
Let me suggest to put it in distinct parts.
For example, P2P playing. This envolve internet protocols, communications routines/functions. Alone, this is already a complex subject.
Chating is another complex question, in the context of the game.

Let me suggest to develop the game in parts, as the chapters in a book.
The way your question was post, I see a TOC of the book. But I don't agree with the order.
So, a viable roadmap could be:
1. The game definition: the actors, what thay do and don't, rules, how points are conquered, what happens in each level
(seems you have already this part)
2. Translate each definition topic in programming and design actions: create the actors (form, colors, shape), how do they move (pixel by pixel, which directions allowed? left, right, up, diagonal, etc.). At this point you start to select the tools: DirectX? OpenGL, Any 3rd part tool for game board (there are several of them, and probably this will be the right direction)
3. Understand drag and drop or other techniques for piece moves.
4. Save/load
5. Define sounds (wave? midi? clicks and poings? human voices?) to chose the programming tools.
6. P2P very later, after good understanding of how things move from one PC to other by the internet.
etc.

As you see, you have a long walk ahead.
As a first step, you may want take a look at
http://www.gamedev.net/reference/start_here/

Jose

 

by: knowltonPosted on 2006-12-14 at 19:56:40ID: 18144262

Jose:

I am not asking about implementation...but general design approaches.

 

by: IsisagatePosted on 2006-12-28 at 12:31:40ID: 18210318

Jose has some really good points.

Make sure you fully consider you game. Has it already been done? What new features or content does it provide to your audience ? What key factors make it fun, and need to be focused on during development. Since your talking a 2d board game I would really hunt down available frameworks and APIs, there are a lot out there for 2d.  

Make sure to start simple. Like he said figure out the game mechanics how things work, and how it plays. I would almost suggest starting OO classes that handle the play logic and making a simple text-based console to allow you to easily interact with the game mechanics, leave the complexity of graphics out of the picture for the moment if you can. Focus on getting the game to play in memory off your actions through a text interface or an ultra simple interface. Game Mechanics are bound to need a lot of manipulation to get them right, and no matter what graphics you put over top the mechanics are essential. Once you are confident in your game mechanics and rule then I would start looking towards a 2d enviornment. Drawing the state of your game in memory. Next add your user interaction with the drawn state. I would get the game to the point where you can play it yourself or two people at the same keyboard and mouse before you even start working on networking and chatting. This way you don't spend a ton of time rewriting your interface because your core is in flux. In the end you want to get the most core version of your game done as soon as possible then add in the networking.

Behind the scenes you will really need to think long and hard on your object model. A good way to start is to write out in detailed text exactly how everything works and interacts then go back with a highlighter and highlight key Nouns and consider those for objects.  Like you have implied -- Board, Piece(s), Player(s), Rules(s)... maybe you also have dice, card, etc.... but get a sense of the actors then determine the relationships, maybe start diagraming them in UML to help make sense of it all before you waste time on something you might rewrite down the road. When you think Object oriented think of real world concepts. For instance, a player, in a game might have a name or handle, a current score, a collection of resources or many other things.... the player object might move their piece on the game board, or draw a card, etc. if you can acturally place the data you need to track and methods to interact with in the correct objects it will make it easier when you add features like online play. A player could then be extended to a new object such as OnlinePlayer which now includes an ip address, etc. as far as the game is concerned he's still a Player and your system works for you. So define a solid Encapsulation and inheritance like this.

So basically start simple, put a lot of thought into it, study up on OO if you need to, and design the basic game first before you add a complex interface of the "gold plating" to your game. You want to get a basic game working first then trick it out.

 

by: knowltonPosted on 2006-12-28 at 13:48:21ID: 18210792

isisagate:

Thanks for your feedback!

Incidentally, http://www.sloperama.com has some really good design documentation and how-to.

 

by: paitumarPosted on 2008-09-21 at 20:42:27ID: 22537244

If you wants tips in technology, I advice using XNA, creating 2D games in XNA is like eating french fries. XNA is based on C#. And its free!

To your answers, let me explain why XNA fits to all:
-You want OO design, XNA is based on C# which is hundred percent OO. (For UML tools, I think netbeans does the trick, its free, search it at java.sun.com)
-Drag and drop is easy to implement in XNA because mouse is supported.
- ..............Here is a way to start, sit before a paper, now think what is the summary of game, what are winning conditions and loosing conditions. Then, move on to what blocks would be there in your board game, what actions would player be able to take, what elements can player have, money, skills, property etc. Finally work out the major rules, all oriented around game idea and winning and loosing and then come up with other ideas.
-XNA provides you with networking options and the fun factor is that the game is hosted freely on microsoft live servers, you don't have to purchase a dedicated host for it. (If you want p2p, I won't advise you that one because network traffic increase incrementally for each new player, it is bound to get all jammed, p2p is not good for games, I recommend client-server)
-Chat ability is available in XNA (I mean you can create one with sockets)
-File system is available in C#, you can implement game save mechanism.
-Loading saved games is possible, you just have to load a file which contains the specs about where the player left the game, according to that, games could be loaded.
-Ah! Level editor, let me think. erm.. No, You would have to use Flash or some other drawing software for that and import it into XNA as an image. Pity.
-XNA has pretty good sound support.

Did I forgot to mention that XNA is at creators.xna.com?

If you need any help in this regard, even to help you with the game coding, I am always available to game programmers, just dump an email to pait.umar@gmail.com

 

by: rmooney01Posted on 2008-09-23 at 11:53:26ID: 22552681

I would like to add a thought. Since it is a 2d game, take a look at www.thegamecreators.com or www.blitzbasic.com . They allow you to code in basic with "game" commands, so you could get the general feel for what you want your game to do quickly. It may even be good enough that you wouldn't need to continue in C.

I have been using them to "tinker" with 3d games, including network play.

 

by: knowltonPosted on 2008-09-23 at 12:17:04ID: 22552925

rmooney:

thx.

The game is in a holding pattern right now  ;)  But this is good info.

 

by: BitBurnerPosted on 2008-10-21 at 22:52:45ID: 22773742

Here is a really good place to start....

Beginning Game Development: Part I  Introduction @ Gaming4Fun

http://blogs.msdn.com/coding4fun/archive/2006/11/02/938703.aspx

 

by: knowltonPosted on 2008-10-22 at 08:15:39ID: 22777526

bit burner:

thx for the great link!

I think this time around I am going to try XNA.

 

by: TogaMarioPosted on 2009-01-13 at 17:41:18ID: 23369339

For those going by the coding4fun link, you might not want to use Managed DirectX (which is no longer supported or in development by Microsoft as such.) Managed DirectX was rolled into XNA Game Studio, so I would recommend learning that if you choose C# as the dev language.

 

by: sno0401Posted on 2009-03-22 at 13:33:20ID: 23953125

I created something similar using Game Maker, along with the book The Game Maker's Apprentice: Game Development for Beginners and got good results. Simplifies many processes such as loading and saving. Also a lot of the game creation was created using drag and drop with very little programming required.

 

by: knowltonPosted on 2009-03-22 at 13:50:04ID: 23953191

thx TogaMario and sno0401 for stopping by and giving  me / us    more ideas and options!

Tom

 

by: ddanonimityPosted on 2009-04-04 at 02:37:18ID: 24066596

There's also a program called gridworld which would allows you to create a game with an in build level editor.

 

by: knowltonPosted on 2009-04-07 at 12:50:10ID: 24091182

cool, thx.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...