Computer Controlled Soccer Game - Build-It

Soccer Robots
www.build-it-yourself.com
Liu Huan, Seth and John
Some people take life soooooooooooo
seriously that they never stop to play. All work
and no play … how boooring!
Design and build a game that makes people
want to play!
www.build-it-yourself.com
Liu Huan, Seth and John
We imagine that the next generation of
computer games will have a new dimension …
Exotic, real world,
robotic characters that
jump right off the screen
onto a real playing field.
The entire environment
will be computer
controlled.
www.build-it-yourself.com
Liu Huan, Seth and John
Game Play
Basic types of computer games.
• Kick / Box
• Race
• Strategy
• Shoot / Score Simulations
• Role Playing
We will build a game that includes elements of
4 and 5.
www.build-it-yourself.com
Liu Huan, Seth and John
Computer Controlled Soccer Game
Kicker
Profile
Goalie
Goal
Profile
Fans
Profile
Referee
Microprocessor Robotic Controller
Scorer’s Table
Windows Game Engine
www.build-it-yourself.com
Liu Huan, Seth and John
Nasty
History:
Quickest faker on the
planet.
You go left.
Nasty goes right.
Favorite Expression:
“Goooooooooooooal”
Favorite Food:
Marinated Rats’ Legs
Favorite Things To Do:
Spit.
www.build-it-yourself.com
Stats:
# Kicks
Kicker rating
Update
Liu Huan, Seth and John
The Wall
History:
Bouncer at the local saloon.
Favorite Expression:
“Stuff it!”
Favorite Food:
Eats 12 Big Macs for
breakfast.
Favorite Things To Do:
Butt heads.
Stats:
# Kicks
Goalie rating
Update
www.build-it-yourself.com
Liu Huan, Seth and John
No Nonsense,
the ref
History:
Don’t mess with No
Nonsense! Supreme
Court Judge in spare
time.
Favorite Expression:
Favorite Food:
Favorite Things To Do:
www.build-it-yourself.com
Liu Huan, Seth and John
Bozo, the fan
History:
Wears crazy costumes to
distract opposing
players!
Favorite Expression:
“Hey there rookie.”
Favorite Food:
Chicken livers
Favorite Things To Do:
www.build-it-yourself.com
Liu Huan, Seth and John
1st Game Design Step – Objective/Rules
Objective:
• Robotic kickers compete for
the highest goals per kick
and speed rating.
• Robotic goalies compete for
the highest block rating.
www.build-it-yourself.com
Liu Huan, Seth and John
The Playing Field
When a kicker scores,
the ball goes into the
goal and rolls through a
tube with a light sensor.
A sensor on the ball
rack detects when a
ball is kicked. It
starts a timer and
keeps track of the #
of balls kicked.
Liu Huan, Seth and John
1st Game Design Step – Objective/Rules
Rules:
Kicker is a robot that kicks a ping pong ball into a 18" wide goal
from a distance of 24."
Goalie is a robot that has a 6" wide hand and can go left or right.
Kicker Rating:
p = % of goals vs. 7 kicks
t = time to kick 7 times
Kicker rating = p * 100 * (1/t)
Goalie Rating:
g = # goals scored
k = # kicks
Goalie rating = g/k *100
www.build-it-yourself.com
Liu Huan, Seth and John
1st Game Design Step – Objective/Rules
Data Collection
A sensor in the goal measures the number of balls that get into
the net.
A sensor on the ball setter starts a clock when the 1st ball kicked
and stops the clock when 7th ball is kicked.
This ball setter sensor also records how many kicks are made.
A robotic referee will read the sensors and report the results to
the scorer's table (i.e. Excel application on the Windows computer)
www.build-it-yourself.com
Liu Huan, Seth and John
1st Game Design Step – Objective/Rules
Ranking System
Each robotic player has a profile including statistics and playful
information in an Excel template.
The scorer’s table Excel spreadsheet will calculate the ratings,
update the rankings, play multi-media files, return ranking
information to individual profiles, and send control signals to the
robotic scoreboard, referee and fans.
www.build-it-yourself.com
Liu Huan, Seth and John
The Game Environment
Way cool graphics and far out sound effects
are an important part of a good game.
1.
2.
3.
4.
5.
Score Board
Stadium
Fans
Advertisements
Sound Effects
www.build-it-yourself.com
Liu Huan, Seth and John
Sound Effects
Search for sound effects in WAV format.
Record your own sound effects.
You will program the RCX to play sound files.
www.build-it-yourself.com
Liu Huan, Seth and John
Game engine
Program to:
1. Enable manual control of the kicker and
goalie.
2. Keep score. (This is a multiplayer game.)
3. Play sound effects at appropriate times.
4. Update player stats and profiles.
5. Control fans.
www.build-it-yourself.com
Liu Huan, Seth and John