maunovaha / CppTicTacToe

A classic Tic-tac-toe game which is implemented using C++17 and SDL2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tic-tac-toe (C++17 / SDL2)

This repository contains source code for a classic Tic-tac-toe game which is implemented using C++17 and SDL2.

The purpose of this project was just to learn more about C++17 / SDL2, and therefore, most likely contain several mistakes and bad practices. However, I decided to upload the project in github anyway in case someone sees it useful in some form or another. Hence, there is also text-based version of the same game in a separate branch.

Note

This project is still pretty much "under construction" until I finish adding audio support to the game and make some refactoring. However, atm. I am relatively busy doing something else.

How to compile and run

Windows

Open the CppTicTacToe.sln file in Microsoft Visual Studio, and hit F5 to run it. (Just make sure x86 is selected for targeting platform).

macOS

make main
./bin/CppTicTacToe

License

This project is released under the MIT License.

About

A classic Tic-tac-toe game which is implemented using C++17 and SDL2

License:MIT License


Languages

Language:C 96.0%Language:C++ 3.4%Language:Objective-C 0.5%Language:Makefile 0.1%Language:CMake 0.0%