Skip to content

AgathokakologicalBit/TicTacToe-with-patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Tic Tac Toe" with patterns

Simple game implementation using common programming patters.

Used design patterns

  • Builder - for creating Board printers with custom settings
  • Decorator - Printers extends Boards functionality (adds ability to print them)
  • Interface - IController is an abstract class(prototype) which defines game player's turn strategy
  • RAII - Board manages dynamic memory for storing cells and frees it on destruction
  • Singleton - Game have a sole instance which runs TicTacToe
  • ... - more will be implemented soon

Screenshots

Game in progress Game finished

Do you have a good idea?

Please explain it on the issues tab

You may also create a pull request assigned to your proposal in order to help make this project better.

Releases

No releases published

Packages

No packages published