Giter Club home page Giter Club logo

tic-tac-toee's Introduction

Description

An implementation of a Tic-Tac-Toe game using SDL library in C++

DEPENDENCIES

The following libraries are required to compile Tic Tac Toe-e:

  • libsdl
  • libsdl_image

COMPILING

Linux/Mac OS X via commandline & Make

  1. Type make from the tictactoee/ directory
    $ make
  2. Then run the tictactoe
    $ ./tictactoe

RULES

Connect 3 of the same symbol to win across rows, coluns or diagonals.

CONTROLS

  • Move the mouse to the desired location and left-click to place an 'X' or an 'O'.
  • After your symbol has been placed, let the other player select his or her location and place his or her symbol using the left mouse button again.
  • When a game is finished, push the 'R' key to reset the board.

tic-tac-toee's People

Contributors

hk0i avatar

Stargazers

 avatar

Watchers

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