Exploring the C++ Standard 2D Graphics Proposal and Implementing Tic-Tac-Toe with cairo
Please read the
remarks about programming problems for
this course.
This assignment has two parts:
- Download and begin reading the ISO C++ standard study group's proposal
A Proposal to Add 2D Graphics Rendering and Display to C++ (Revision 2).
- Using cairo graphics under Cinder in C++, write a two-player Tic-Tac-Toe game that behaves identically to
the
CPTR 124 Tic-Tac-Toe assignment. For this assignment you will implement both the game engine and
the graphical interface. At that point in CPTR 124 we had not yet covered objects, so the game engine relied on global
variables to manage the state of a game. I recommend defining a game board class with member variables
in place of global variables to maintain state.
In which case you would define methods in place of the free functions.
When you are finished submit your
source files to
eclass.e.southern.edu.