Skip to content
forked from hbatagelo/abcg

Development framework accompanying the course MCTA008-17 Computer Graphics at UFABC, Brazil

License

Notifications You must be signed in to change notification settings

erickfunier/abcg

 
 

Repository files navigation

Nested Tic-Tac-Toe

A classic game, with a hint of difficulty, the Nested Tic-Tac-Toe consists of nine Tic-Tac-Toe games that together form a Tic-Tac-Toe, increasing the difficulty, since any of the games can be done simultaneously, with a distraction the player loses easily.

The code was made using the ABCg library, with OpenGL, the menu, and the buttons on each board were made with ImGui and the lines and columns, in addition to the end-of-game trace, were made with Open graphics.

For each board in the game, an ImGui window is created, which makes it a lot easier, as these windows are generated with just a few for loops.

The description of the positions of each board is made in the file openglwindow.hpp and the description and creation of the graphics are in the files shapes.cpp and shapes.hpp.

The game can be access in web version:

https://erickfunier.github.io/ComputerGraphics/ABCg/nested-tic-tac-toe/

Possible Outcomes

X: Player that has chosen X wins O: Player that has chosen O wins D: Draw game

Authors

Erick Funier dos Santos - RA: 11031914

Paulo Ricardo Cunha - RA: 11080312

ABCg

Development framework accompanying the course MCTA008-17 Computer Graphics at UFABC.

Author

Harlen Batagelo

License

MIT

About

Development framework accompanying the course MCTA008-17 Computer Graphics at UFABC, Brazil

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 92.4%
  • CMake 4.6%
  • HTML 2.8%
  • Other 0.2%