Monday, November 29, 2010

Statistics are hard to program!

 



This was done on a whim, and I don't freakin trust it!

While playing the classic "Clock Game" (cause I don't know what else to call it), I wondered what the odds of winning were. Famously, this game is only won a couple of times in a person's life, so the odds must be very much against the player, right?

Apparently not. I programmed this to simulate the playing of this game as many times as you care to wait for, record the wins and losses, and calculate the odds. Apparently, if you randomize the deck like a computer does, you'll win quite often.

Check it out, and be kind :D. Don't go hog-wild on the number of games, it'll take a while. I should really add a kill button. *shrug* eh.

Sunday, November 21, 2010

Animation Dump

Here's a couple of animations I've been working on at school. Please let me know what you think!

First off: Getting out of a Chair


Next: Weight Lifting