youGOO! - a webcam game by thebrainfuse

[raw]
made by thebrainfuse for LD28 (JAM)
TLDR:
Raise fist when it is '1' to score,
For other numbers, you lose points.


A Kinect style webcam game, made for the Ludum Dare 28.
Utilizes Javascript, HTML5.

Works best with Chrome
(preferably the Canary version - needs WebRTC).

///Objective\\\

A constantly shifting number bounces around the screen.

Starting with 100 points,
you have to place (and detect) your fist onscreen
when it becomes '1' to score.

Fist detection in all other instances reduces points.

When the score becomes 0 or less,
GAME OVER MAN!

///Detection\\\

Try positioning your fist as you see in the screenshot.
If your fist is detected, a green square appears around it.

I have tested out only my own fist, so it may take some trial-and-error to get it right.
I also found out that it is best to have just the fist on-screen (your face,etc should be off-screen),
with an uncluttered background.

///Strategy\\\

Don't place your fist at all for numbers other than 1.
When it turns 1, quickly lift and drop your fist.

Ratings

Coolness 60% 3
Overall(Jam) 2.70 423
Audio(Jam) 1.78 451
Fun(Jam) 2.48 410
Graphics(Jam) 2.00 512
Humor(Jam) 2.24 293
Innovation(Jam) 4.20 4
Mood(Jam) 2.35 440
Theme(Jam) 2.87 230

Feedback

Gjarble
17. Dec 2013 路 03:11 UTC
Seems like a brilliant idea. However, on the Web version (I'm using a Mac, so I can't play the Windows version), I'm getting an error saying "WebRTC not available." For the record, I'm using Chrome as recommended. It worked at first, but with a ~5 second lag. I then got the error after closing the rest of my applications and refreshing the page (in an attempt to reduce the lag), and the error still happens no matter how many times I refresh/restart Chrome.
馃帳 thebrainfuse
17. Dec 2013 路 03:22 UTC
Thank you for your kind words!...
I got that error too when i was fiddling around... it usually occurs when the webcam stream is active on another window.
Make sure that all windows are closed, then try again.
Let me know if that works.
馃帳 thebrainfuse
17. Dec 2013 路 03:24 UTC
I'm looking into other common causes for this error now... will fix if it turns out to be a bug... thanks for notifying me.
馃帳 thebrainfuse
17. Dec 2013 路 03:32 UTC
Gjarble, just a thought... haven't tested on a mac, so maybe you could try other browsers (safari, firefox, opera, if available)?
馃帳 thebrainfuse
17. Dec 2013 路 03:37 UTC
<FACEPALM> Safari and IE do not support WebRTC yet... please try Chrome Canary...
https://www.google.com/intl/en/chrome/browser/canary.html?platform=mac
mtinkerhess
17. Dec 2013 路 05:12 UTC
It worked for me! Cool to see a very different approach to user input. The fist detection seemed to work well enough. Could use some more features maybe, like using the position of your fist in the game somehow.
馃帳 thebrainfuse
17. Dec 2013 路 07:46 UTC
@mtinkerhess: that was my original plan :-)... but the detection was not good enough to use for collision, so came up with this approach in the final minutes... going forward, i'm planning to improve on this, maybe include even two hands...
lilinx
17. Dec 2013 路 20:46 UTC
Interesting idea, unfortunately the detection does not work well here. I will try this on other computers, I'm interested.
馃帳 thebrainfuse
17. Dec 2013 路 20:51 UTC
@lilinx: try directing your fist outwards like you see in my screenshot... of course maybe its my game's limitation, since i have tested only my own fist!...
Zerkruemler
17. Dec 2013 路 20:57 UTC
It seems to work somehow, but the game just sporadically detects a fist although it looks exactly as on your screenshot. Nice idea, but seems to be technically to complicated.
Gjarble
17. Dec 2013 路 21:20 UTC
Follow-up: I tried it again, and it works now. The lag was significantly lower, but still about 1 second, which means the 1 has usually changed to something else by the time it detects my fist. I then tried it on my (Android) phone, which worked much better!
馃帳 thebrainfuse
17. Dec 2013 路 21:24 UTC
@Gjarble: really appreciate it, thanks for playing again! Right now, the number randomizer is set to change every 1.5 seconds... i could tweak it to be 2 or 3, but i'm wondering if it will detract from the challenge...
LPGhatguy
17. Dec 2013 路 23:51 UTC
I had a little bit of an issue with fist detection, but I do really like the concept.
somepx
26. Dec 2013 路 20:19 UTC
Works fine on Chrome - an impressive webcam tech demo ;)
JohnnySix
26. Dec 2013 路 22:36 UTC
Baww. No Camera. :(
eskivor
26. Dec 2013 路 23:47 UTC
I like the concept, but I don't success to catch the 1 in time. I don't know how exactly the detection works.
van noctar
27. Dec 2013 路 01:42 UTC
It's very difficult to play! The hand position is not draw...
x70x
27. Dec 2013 路 02:07 UTC
I really wanted this to work based on the screenshots and description, but I just couldn't seem to be detected accurately. Interesting idea though.
kirbytails7
27. Dec 2013 路 05:25 UTC
Not too bad. Nice job getting any kind of image recognition for a game jam. It would be nice to be able to see when the number would be about to change, or something like that.
Also, the graphics are extremely realistic!
havana24
27. Dec 2013 路 10:59 UTC
Really difficult to play but nice concept and implementation! :)
local minimum
27. Dec 2013 路 12:16 UTC
It could have been really great but after initially loosing some points it seemed as the game lost interest in my hand. I'm not sure if it would be easier but what if the objective was to poke the 1s with an extended finger?
馃帳 thebrainfuse
28. Dec 2013 路 18:53 UTC
for people finding it difficult, i understand... its only been properly tested on a few fists, and it also depends on your webcam and system specs... i'm grateful for you guys trying it out, and taking your time to provide feedback... i guess i have to put in a calibration system as a prologue, to get the detection absolutely right...
Andreas Brandt
28. Dec 2013 路 19:15 UTC
cool idea, innovation 5/5, but too difficult to play, im really frustrated. HAHAHA great job.
psc1997
28. Dec 2013 路 21:13 UTC
On Creative LiveCam ChatHD game work fine ;)
Great idea! For innovation 10/10 ;D

PS. I want to see timelapse from game develop time ^^
larb
28. Dec 2013 路 22:50 UTC
Really cool entry. This is so much different from the other LD entries.

I also had difficulty getting my first to detect properly.

Maybe add a free mode? Where you can just move your fist around, so I can figure out how to place my fist so I can figure out how to get it detected.
StMatn
28. Dec 2013 路 22:52 UTC
Awesome idea!
It would be nice, if you had added some kind of "tutorial", where the player could train to "do the fist right" :D Though I was able to punch (sorry, for the pun) my score over 3000, the fist recognition didn't work perfectly for me. At some points a shadow behind me was recogniced for a little moment, while my fist was ignored sometimes. Don't get me wrong, I don't want to badmouth the game in any way! I'm impressed, that the recognition works up to that degree, it does at the moment! Respect for that :)
Great work!
馃帳 thebrainfuse
30. Dec 2013 路 00:18 UTC
Thanks guys for your awesome reviews and suggestions... definitely working on personalizing detection before beginning the game...
馃帳 thebrainfuse
30. Dec 2013 路 00:33 UTC
@psc1997: sorry dude... did not think about LD properly enough to set-up a timelapse... will keep that in mind for next time!
SimianLogic
30. Dec 2013 路 05:52 UTC
Cool idea -- really annoying that I had to refresh and re-auth the webcam every time, though (chrome). Would like some sort of menu/restart.

Would also be good to have a config screen where i can hold up my fist (though that might be hard to code up in a weekend).

The detection seemed a little slow (maybe too close?) and I always seemed to get false positives while moving my fist offscreen. Would be good to have some sort of buffer after a positive recognition to give you time to get out of the camera view.
HeyChinaski
30. Dec 2013 路 14:13 UTC
Technically impressive.
NiceAlexanderAS
07. Jan 2014 路 01:08 UTC
hahahah wow cool game, interesting idea! great work! :D