Dodging Duck Game

by Gretchen X


My project is a game called "Dodging Duck" in which a duck figure moves at a constant random speed across the screen, with its up/down motion controlled by the mouse. The duck must avoid barriers that have a gap in them which moves randomly up and down. When the duck reaches the end of the screen, it resets to a new randomly chosen constant speed. The game is over when the duck crashes into a barrier.