Tic Tac Toe in C++ using the SDL library