CUNY BC C Program Run and Compile Connect Four Building A Text Interface Code Writing
Subject
Programming
School
CUNY Brooklyn College
Question Description
Throughout the course of this semester, you will be building “Connect Four”. If you are not familiar with this game, you can find the rules here: https://en.wikipedia.org/wiki/Connect_Four
You can play the game here: https://www.mathsisfun.com/games/connect4.html
We will not be building a graphical use interface for this game (that is not the focus of this course) but we will be building a text interface to this game.
For this assignment, we will be creating our project and getting some of the structure in place.
Most computer games have a particular structure, whether “guess a number” or Battlefront II. They start with some initialization – set up the data structures that model the “game world”. Then there is the “game loop” – a (nearly) infinite loop that accepts user input, updates the state of the game world, and updates the display. Finally, there is the teardown sequence that happens at game exit.