Giter VIP home page Giter VIP logo

tic-tac-toe's Introduction

Tic-Tac-Toe

A simple touch-gesture-based game of Tic-Tac-Toe for iOS

Usage and Tesing

  1. Begin the game by drawing a game board.
    • Support for multitouch gestures to draw the lines has been implemented
    • Once four lines have been drawn, the game will be ready to accept character input
  2. Draw either and X or and O in one of the sections of the board to begin
  3. If and illegal character or 2 of the same characters in a row (eg. X followed by X) are drawn, they will not count and will be removed from the board.
  4. The game will display a prompt at the bottom on the screen, displaying the current character to be drawn (X or O)
  5. A printout of the board is displayed in the console after every move
  6. When a player gets 3 in a row, a line will drawn the winning row, and the prompt will display the winner
  7. Once the game has finished in either a win or tie, double tapping on the screen will clear the screen and a new game board can be drawn

tic-tac-toe's People

Contributors

owenlejeune avatar

Stargazers

 avatar

Watchers

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