CSCI 243
Project #4
Event Driven
Programming
Date Due: 17
November 2014
For this next
program we are going to combine things we’ve done earlier with Unix signals and event driven programming to implement a
game using text graphics—shades of the late 70’s! We will be using ncurses
to move text objects around the screen, and use the keyboard to control the
movement. (Some early computers actually
had game elements in the character set…for instance there were characters for a
tank facing in eight possible directions, etc.
Sadly, today’s character sets are much more mundane.) The game of choice is pong for one player, a
combination of breakout and pong. To
celebrate the superiority of vi as an editor over emacs, we will use the j and k keys to move the paddle up
and down. The paddle will move up and
down on the right side of the screen, which is open, while the other three
sides are closed in by walls. Everyone
should do well on this project since Chapter 7 of the text describes the design
process in detail.