New game

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
clanger165
Forum Newbie
Posts: 3
Joined: Sun Aug 06, 2006 4:24 am

New game

Post by clanger165 »

hi, apologies if this is the wrong forum.

Im just begining to desgin an online webbased game, kind of similar to risk but more advanced.

Do you have any tips on how to begin the design process,

so far, ive put how the game will work on paper, i was thinking of doing the database first.

what do you advise? I new to PHP and have mysql.




Thanks in advance.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

This is how I do it.. not sure if many developers do it the same way.

I get my HTML & CSS done... or as close to done as I can without programming.
Then I do the PHP, and database when the PHP calls for it.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
clanger165
Forum Newbie
Posts: 3
Joined: Sun Aug 06, 2006 4:24 am

Post by clanger165 »

ok, is this the preferred way then?
User avatar
Sh1fty
Forum Newbie
Posts: 1
Joined: Tue May 02, 2006 12:47 pm

Post by Sh1fty »

i do it that way too. tried working the other way, i didn't like it.
User avatar
Ollie Saunders
DevNet Master
Posts: 3179
Joined: Tue May 24, 2005 6:01 pm
Location: UK

Post by Ollie Saunders »

hi, apologies if this is the wrong forum.
I'd say this should be in theory and design.

Here's how I work:
  • Comprehensive project specification. This should be high level, don't go into detail but cover all the functionality you are going to deliever.
  • Interface designs (brief sketches) of every screen in the application.
  • Write Database structure
  • Test database structure. Does SQL accept the code? Do foreign key cascades/restricts/set-null etc. work?
  • Create an prototype page using HTML/CSS (one of the ones you have done an interface design of)
  • Start writing PHP, this includes HTML, add any CSS as and when you need it
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Yes I do templates last. If you do the templates first you end up hacking away at things to make them work with the template you designed. Getting a suitable data model set up to build a template around seems much more sensible. I spend a lot of time optimzing things at the backend before I ever get started on the template.

That said, I'll usually know roughly where I'm headed with my page layout.
Post Reply