Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more  

Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Linux Operating System > Programming / Scripts
User Name
Password

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 03-04-2007, 06:34 AM   #1 (permalink)
moshdj2uk
Junior Member
 
Join Date: Dec 2006
Posts: 4
Default Coding for a PHP game.

I'll try to keep this simple and short:

I'm building a php driven game. Basically, players do certain things in order to gain more points. They can then challenge each other to a battle. The higher the points the person has, the more chance they have of winning the battle.

How would I determine who wins/loses in a battle? There must be a simple way to do this, but I'm clueless as to where to start.

Thanks.
moshdj2uk is offline   Reply With Quote
Sponsored Links
Old 06-20-2007, 07:27 AM   #2 (permalink)
cheap freelancer
Junior Member
 
Join Date: Jun 2007
Location: askexpert.info
Posts: 8
Default Re: Coding for a PHP game.

Keep the scores in database, at the end compare and declare winner.
cheap freelancer is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View: 1.00
Points Per Thread: 11.00
Points Per Reply: 5.00



» Sponsors

» Links

» Affiliates
Web Hosting
Marketing Find
Merchant Select
SiteMap Builder
Host Compare
Dedicated Servers

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 07:19 AM.



LinkBacks Enabled by vBSEO 3.0.0 RC8
Webmaster Forums