?
Solved

PHP photo contest script? (KittenWars.com style)

Posted on 2011-02-12
5
Medium Priority
?
1,166 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
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 learn how to dynamically set the form action using jQuery.
Suggested Courses

801 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