tiresoti / xo-game

A classical Tic-Tac-Toe game, made on OpenGL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tic Tac Toe

This is my first own C++ OpenGL game for Windows. I made it using GLFW, GLM, FreeType, GLAD and STB libraries. Try to win the smart computer AI in this classical Tic Tac Toe challenge!

My code is based on Joey De Vries Learn OpenGL tutorial for making a 2D game Breakout. The /XO Game/framework folder contains barely changed code from that tutorial. You can find the source for Breakout here. Other files in the root folder of the project are either completely mine or drastically differ from the original. It also contains source code for all the libraries I used, it lays in corresponding directories.

How to play

  1. Download the repository by clicking here, unzip the archive
  2. Run XO Game.exe (you need 64-bit Windows)
  3. Enjoy!

If something goes wrong, the game wouldn't run and an errors.txt file will be created.

Feel free to contribute to my game in visual part! Current textures are stubs, and I'd like to change them. You can submit yours, just follow the original proportions and file format (PNG or JPG), otherwise the pictures will be stretched. All images lay in /XO Game/res/textures/ directory, fonts are in /XO Game/res/fonts.

About

A classical Tic-Tac-Toe game, made on OpenGL.


Languages

Language:C++ 50.8%Language:C 48.7%Language:Objective-C 0.5%Language:CMake 0.1%Language:GLSL 0.0%