8 Replies - 1476 Views - Last Post: 08 July 2011 - 03:49 AM Rate Topic: -----

#1 amatzprogrammer  Icon User is offline

  • D.I.C Head

Reputation: -1
  • View blog
  • Posts: 75
  • Joined: 07-July 11

What can PHP do?

Posted 07 July 2011 - 07:33 PM

We have a group project. We must create a game through php. And before that we must come up first with the project proposal. But we cant think a game that php can handle or can do. We don't have any idea on the capabilities of PHP. Is there anyone here can say what is the capability of php in doing some games? Thanks.

This post has been edited by amatzprogrammer: 07 July 2011 - 07:36 PM

Is This A Good Question/Topic? 0
  • +

Replies To: What can PHP do?

#2 maniacalsounds  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 117
  • View blog
  • Posts: 472
  • Joined: 27-June 10

Re: What can PHP do?

Posted 07 July 2011 - 07:39 PM

PHP is normally used to make text-based games, such as Mafia Wars, or whatever else. There's a bunch of tutorials on how to make a text-based mafia game here, actually.

Resources:
http://www.dreaminco...ame-essentials/
and
http://www.dreaminco...nection-part-1/
Was This Post Helpful? 0
  • +
  • -

#3 CTphpnwb  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 2896
  • View blog
  • Posts: 10,031
  • Joined: 08-August 08

Re: What can PHP do?

Posted 07 July 2011 - 07:49 PM

Because I caught the last 5 minutes on TV tonight, how about simulating Wheel of Fortune? It should be fairly easy but still be impressive if you do it well.
Was This Post Helpful? 0
  • +
  • -

#4 amatzprogrammer  Icon User is offline

  • D.I.C Head

Reputation: -1
  • View blog
  • Posts: 75
  • Joined: 07-July 11

Re: What can PHP do?

Posted 07 July 2011 - 07:59 PM

Thanks Maniacalsounds and CTphpwb. :) Actually in the first proposal we did is the rotate and roll - http://www.coolmath-...roll/index.html , we are going to make it through flash and php. Is it possible to make it using php or html4.0 only? or not? That is why we need to come up another proposal.

This post has been edited by amatzprogrammer: 07 July 2011 - 07:59 PM

Was This Post Helpful? 0
  • +
  • -

#5 maniacalsounds  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 117
  • View blog
  • Posts: 472
  • Joined: 27-June 10

Re: What can PHP do?

Posted 07 July 2011 - 08:03 PM

Yes, it would be possible, through a RIDICULOUS amount of the GD Library.

I doubt you want to go to all of that trouble. Perhaps create a text-based adventure game? You know - pick up the weapons and level up? Of course, it'd have to be simple since you're on a time constraint.
Was This Post Helpful? 0
  • +
  • -

#6 eZACKe  Icon User is offline

  • Garbage Collector

Reputation: 120
  • View blog
  • Posts: 1,278
  • Joined: 01-June 09

Re: What can PHP do?

Posted 07 July 2011 - 08:40 PM

I think your best bet is to do something that really won't be too graphic intensive. Like others have mentioned, perhaps a text based game. Doesn't have to be text though, but from the sounds of it this project is to test your skill with PHP not with creating graphics.

In that case, you're going to want to gear your game towards things that PHP can take advantage of. One thing that could show the power of PHP is through connecting to a database. You could make some simple RPG game in which users could create their own character, and PHP with MySQL could be used to do logins and create accounts. You could then show how PHP handles passwords encryption/hashing and stuff like that.

There's really tons of cool stuff you could do if you're creative enough.

Perhaps a multiplayer RPG-type gladiator death match game? Users create their own gladiators and level them up somehow. Then you test your gladiator by fighting against someone else. All the information could really be stored in a database.

This post has been edited by eZACKe: 07 July 2011 - 08:43 PM

Was This Post Helpful? 0
  • +
  • -

#7 amatzprogrammer  Icon User is offline

  • D.I.C Head

Reputation: -1
  • View blog
  • Posts: 75
  • Joined: 07-July 11

Re: What can PHP do?

Posted 07 July 2011 - 08:59 PM

Yeah. That's why we need to create another proposal. Since, our teacher will check only the php and not the graphics. Thanks eZACKe and Maniacalsounds.
Was This Post Helpful? 0
  • +
  • -

#8 amatzprogrammer  Icon User is offline

  • D.I.C Head

Reputation: -1
  • View blog
  • Posts: 75
  • Joined: 07-July 11

Re: What can PHP do?

Posted 07 July 2011 - 11:18 PM

May I ask if a game like hangaroo or hangman is possible to make using PHP.
Was This Post Helpful? 0
  • +
  • -

#9 CTphpnwb  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 2896
  • View blog
  • Posts: 10,031
  • Joined: 08-August 08

Re: What can PHP do?

Posted 08 July 2011 - 03:49 AM

Yes, they're possible. Very similar to Wheel of Fortune. You have letters to be guessed and points to be awarded/lost.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1