game development

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

kittukrrish
New php-forum User
New php-forum User
Posts: 1
Joined: Fri Oct 12, 2012 1:37 am

game development

Postby kittukrrish » Fri Oct 12, 2012 1:40 am

Hey guys I would like to develop the random quiz game in PHP.
This game is already done in Android
It's available at http://www.cannytech.com/AndroidRandomQ ... ....please tell the procedure.....
Android market url is https://play.google.com/store/apps/deta ... randomquiz

seandisanti
php-forum Fan User
php-forum Fan User
Posts: 838
Joined: Mon Oct 01, 2012 12:32 pm

Re: game development

Postby seandisanti » Fri Oct 12, 2012 9:08 am

you should start by building a database to store questions and their answers. maybe difficulty etc. then write a front end to interact with the user. Ask them questions from the database, and evaluate their input vs the answers. if they're right you should assign points, and deduct points or mock them if they're wrong. once a set number of questions has been asked or a time threshold exceeded, declare game over and let them know how they did. you could even have a leaderboard table that records and reports the best scores. you'd need to write the code to do that too though, but it should be easy by the time you've finished the rest of it.


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 3 guests

cron