Function Lab Programming Example

Game - Console Game

This incomplete game is for brave Windows programmers only. It uses features included from windows.h to control where the the next cout statement will start writing and from conio.h to read characters without waiting for enter to be pressed.

The program also has examples of all three function types taught in this week's lab. The game is incomplete since detecting collisions would require a way to remember the position of obstacles or enemies in the game - arrays - which will be taught later in the semester.

Get the game here: ConsoleGame.cpp