Solved

PHP photo contest script? (KittenWars.com style)

Posted on 2011-02-12
5
1,118 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 500 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 109

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

839 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