like to add this game to my site please help

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
chris_s_22
Forum Commoner
Posts: 76
Joined: Wed Dec 31, 2008 2:05 pm

like to add this game to my site please help

Post by chris_s_22 »

i want to expand my site by adding a game it will be linked to my site but will need different layout and will have its own domain name, any way what i want is as follows:

truth dare website
black bacground
red writing headings black wrigin for qustions
index
home page
login - ussernamer + password feilds, lost password,
register - ussername - password - email verfication -

create game page form - number of players max 15, sex
game page - spin button thats randomily pics a player
players names amimate untill one stops
Truth - dare is then asked
if truth a question is asked suitable for the that sex otherwise a dare is asked
option to say if person succesfully answered the truth or did the dare
if so the spin button is asked to be pressed
if wasnt succesful a forfeit is ask,
timer button if pressed a countdown is done if sucesfull button not press before end of timer no points are not rewarded and spin button is brought up
sound on site so each question ,forfeit or dare is read out
needs a rating system so for each question/dare a set amount of points is given
scorboard to be shown on page
the harder the question/dare is the more points its worth
rules DISPLAYED ON page
also stat showing how many games are running

now maybe the hardest part of all if this is possible is that with the work i do i would like it so i can play this game against or even people can play this game against other people online and done over webcam

this is something i would really like on my site so anyone with knowledge on how to do this or like to help me achieve either through guidence through msn this is grately recieved, if done to a high standard i wouldnt mind having to pay for this
User avatar
omniuni
Forum Regular
Posts: 738
Joined: Tue Jul 15, 2008 10:50 pm
Location: Carolina, USA

Re: like to add this game to my site please help

Post by omniuni »

Well, you're going to be looking at an AJAX type page and with some pretty major Flash stuff to make that work.

Design is the least of a concern, but aside from a system to handle logins, you will need an experienced Flash developer if you want to the voice/video type stuff.

You could achieve most of the rest with AJAX, but you'd need some fancy scripting to make it group the players together.

Honestly, I'm not quite sure where I'd begin!

If you're new to PHP, start with a simpler type of game, or come up with your own version of T or D that doesn't require everyone to be online/available at the same time.
chris_s_22
Forum Commoner
Posts: 76
Joined: Wed Dec 31, 2008 2:05 pm

Re: like to add this game to my site please help

Post by chris_s_22 »

thx for your input yeah im new just made my fist steps in php and created a login facility yipee,

anyways just wanted to know is it possible to do without flash or is that key?
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Re: like to add this game to my site please help

Post by Luke »

This game is pretty simple, so it could be done in PHP, but honestly like omniuni said, for highly interactive things like games, Flash is generally a much better choice, although people have done some pretty amazing things with javascript as well. PHP is a server-side technology. It isn't capable of "animation" or that sort of thing.
Post Reply