Skip to content

Latest commit

 

History

History
55 lines (45 loc) · 3.07 KB

README.md

File metadata and controls

55 lines (45 loc) · 3.07 KB

The standard "" game on c++ using SDL2

This repository contains sources for standart game I made based on SDL2 library.

Screenshot of game

Installing as game

  1. Simply download archieve from releases, unzip and run 'tic-tac-toe.exe'!
  2. Also you can download game installer from releases.
  3. Also you can build project by yourself, watch point 'Instalation for own use'.

Usage

Classical game "tic-tac-toe", ported on computer. Rules are simple you need to set crosses or circles at field. You goal - have pre-set number of your shape in one line/column/diagonal. As server or first player you can choose, how place first. Game have 3 mode:

  • Singleplayer (only if field width equal 3);
  • Local two-person mode (for two people at one machine, walking in turns);
  • Intrnet two person mode (for two people at two different machines, by LAN); Also you can change numbers of width, win width and other usefull things from "settings.ini" file.

Supported languages

  • English
  • Russian (Русский)

Instalation for own use (windows)

Need external soft:

  1. C++ compiler (such as MSYS2);
  2. Make;
  3. CMake;
  4. External SDL libraries (SDL2, SDL image, SDL mixer, SDL ttf, SDL net);
  5. External archieve library - libzip (build by you own), required: 1. zlib, 2. bzip (came with GNU), 3. libzip;
  6. (Optional) Code editor Visual Studio Code (for better usage).

Instalation for own use (unux-like)

Need external soft: 1. 2. 3. CMake; 4. External SDL libraries (SDL2, SDL image, SDL mixer, SDL ttf, SDL net); 5. External archieve library - libzip (build by you own), required: libzip; 6. (Optional) Code editor Visual Studio Code (for better usage).

Point 3 with all last builded sources is located at releases (Development-kit).

Used external libraries: