homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque & physics

Webmaster General Forum

Promotional games

 10:09 am on Jul 7, 2006 (gmt 0)

I'd like to offer something like flash games on my site that come with a highscore table so that visitors can compete with each other, and I can offer prizes at the end of the week/month for high scorers.

Does anyone know where I can find such things? Haven't had any luck googling.



 11:05 am on Jul 7, 2006 (gmt 0)

Flash is a client-side technology but high-score saving would have to be implemented server-side (by submitting the score as form data). You might find a use for Ajax technology (javascript interacting with the server) but that's another story.

If you can write or find the flash games, then a little php or perl scripting should be all that is required to save the high-scores. You should be aware, however, that a hacker would find it easy to add fake scores.



 11:28 am on Jul 7, 2006 (gmt 0)

That's a good point about hacking :/ I can't do programming myself but am looking for somewhere that offers such games pre-programmed. There must be some!

Is there any way this could be implemented that would make it very difficult to hack? I.E. something other than flash?


 11:37 am on Jul 7, 2006 (gmt 0)

A Hacker could find it easy to send false scores if he/she wanted to by just making their own form and submitting it to your site.

You could check the referrer on all form submissions to ensure it was from your domain and refuse it otherwise.

Also you could munge the data you are sending so they would not know in what format they would need to send it in.

It could still be hackable, but this would prevent the most common ways to send false form data. You most likely find it difficult to find this pre-written so you would need to get someone to help you with that.


 12:46 pm on Jul 7, 2006 (gmt 0)

The security problem is unrelated to the Flash technology, it's the form submission that's the problem.

I don't play Flash games - do they have the ability to output a score that could be read by javascript? If not, give up now.


Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved