Place Your Bets!

Christopher Shanahan, Fall 2010

My final CSC 471 Project is a simple betting game where a set amount of two objects move around a restricted area, colliding with others of the same object type killing each other until only one remains.
The two models can be seen below.


First, we have the Minecraft Zombie.


Second, a bird made entirely out of bunnies. Lovingly dubbed, the Bunnybird.

These two models are randomly generated on a flat field with random directions set to them (Forward, back, left, or right).
They will move in these directions until one of two things occurs:
1) They reach the edge of the field, at which point they will turn 180 degrees.
2) They collide with one another, at which point both entities will turn 90 degrees to the right and continue in that direction.


This is roughly what the entire field looks like upon generation.

However, as I finished their collision detection I decided that just them walking around wasn't interesting enough.
So how about a cage match?
One where rankings matter.


Here we see a large portion of the "players" having already been disqualified.
All disqualified players have their rank announced in the terminal, as can be seen, and are immediately moved off the field to spectate the rest of the match.
The longer they survive, the closer they appear to the field when they lose.


But every game has to have a certain end condition...


Here we see the two victors among the Bunnybirds and Zombies.
Their supreme victory is announced in the terminal as soon as they win their battle.
The rules as to winnings are entirely up to the players.

Extreme care was taken to make sure these zombies and bunny birds would not spawn inside one another.
If they had been allowed to, they both would be immediately disqualified as soon as damage was turned on.
Along with that, care was taken to ensure that there would be no stalemates (all Zombies/Bunnybirds are moving the same direction).
If a stalemate occured one of the entities would randomly be chosen and turned 90 degrees.

Specifics

The Minecraft Zombie and bunny bird were heirarchically modeled, both to include movement.
The Minecraft Zombie to move as it does in the game it came from.
The Bunnybird to flap it's "wings" to stay afloat.

The Minecraft Zombie uses the official skin chopped up to act as it's texture mapping.
It was made 1 to 1 scale compared to the game.

The Bunnybird uses the Bunny500.m file to be drawn.
Other bunny .m's CAN be used, but it is not a certainty that the Bunnybird will "flap it's wings" correctly.