Giter Site home page Giter Site logo

kolyaka32 / tic-tak-toe-on-sdl-net Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 879 KB

Creating standart "tic-tac-toe" game

License: GNU General Public License v3.0

CMake 2.74% C++ 97.08% Batchfile 0.17%
cpp open-source sdl2 sdl2-net tcp tic-tac-toe tic-tac-toe-multiplayer windows

tic-tak-toe-on-sdl-net's Introduction

The standard "Tic-tac-toe" game on c++ using SDL2

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

Screenshot of game

Installing

  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

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).

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

Used external libraries:

tic-tak-toe-on-sdl-net's People

Contributors

kolyaka32 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.