Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

PHP photo contest script? (KittenWars.com style)

Posted on 2011-02-12
5
Medium Priority
?
1,196 Views
Last Modified: 2012-06-27
Hi,

Does anyone know if it is possible to get an image-comparing-contest script somewhere?

Looking for pretty much exactly the same thing as kittenwars.com.

Thanks in advance for any help!

Andrey
0
Comment
Question by:andreyman3d2k
5 Comments
 
LVL 8

Accepted Solution

by:
rationalboss earned 2000 total points
ID: 34879278
0
 
LVL 20

Expert Comment

by:Mark Brady
ID: 34880249
What does it have to do? The page at kittenwars.com only displays two images and lets the user click 1. All that would do is store the result in a table. That's very easy to write. Do you have a server that will run php and mysql and do you have access to phpmyadmin etc....? We could do a quick script that will allow you to click one of two boxes and store the result in a table.
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 34883064
It's a cute site.  Not sure I understand the business model or the results page... If you win 80% of 472 battles does that make you more of a winner than a kitten that has won 77% of 1,300 battles?
http://kittenwar.com/kittens/winners/

It works by accepting uploaded files - image and kitten name are stored on the server, thus the data model is "crowd sourced".  On the site, two random images are presented.  The click chooses the winner and adds a row to the results table.  The results table contains the two kitten id keys - one in the winner column and the other in the loser column.  From that, it is pretty easy to compute results, show individual records, big winners and big losers, etc.  Looks like a second-term freshman project in a computer science curriculum.  Might be a good online game, too, except for the need to keep sending new kitten pictures to the handheld device.
0
 
LVL 6

Author Comment

by:andreyman3d2k
ID: 34883325
Hi,

thanks for all the replies -- rationalboss, that's exactly what I was looking for, and I'd be willing to pay a few bucks for it, so your answer was spot-on.

elvin66 -- I was looking for a plug-n-play solution that I would have to, at the most, unpack and minimally customize.

Ray Paseur -- I think the business model is just advertising is the case of kittenwars -- who wouldn't want to look at kittens? In my case, I am considering using it as a game on product site, though I am leaning towards the 'hotornot' style contest instead. Wanted to see if this was even an option. Looks like it is!

Thanks everyone,

Andrey
0
 
LVL 6

Author Closing Comment

by:andreyman3d2k
ID: 34883327
Thank you.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question