COSC 231 Project #3 Move a Sprite

Date distributed: 4 March 2015
Date due: 18 March 2015 23 March 2015

Assignment

Move a sprite around a rectangular area under control of keyboard input.
direction arrow key char char
NORTH <up arrow> 'i' 'w'
WEST <left arrow> 'j' 'a'
SOUTH <down arrow> 'k' 's'
EAST <right arrow> 'l' 'd'

Any of the keys indicated in the above table must work.

The sprite is not allowed beyond the edges of the rectangular area. There is no wrap-around.

The rectangle must be delineated.

Grade based on

Satisfying specs 50%
Nice "look' to rectangle and sprite 10%
Elegance (no redundancy, etc) 30%
Readability 10%

Turn in