Coder Social home page Coder Social logo

roryclaasen / reacttictactoe Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 388 KB

A spin on original Tic-Tac-Toe

Home Page: https://u-tictactoe.herokuapp.com

License: MIT License

HTML 0.89% JavaScript 95.24% SCSS 3.87%
tictactoe game multiplayer-game

reacttictactoe's Introduction

Ultimate TicTacToe (React)

Based off my old java project Tic Tac Toe (java) now rebuilt with react

Play

You can play the game online in your browser here. Note that there may be increased page loading time on first load as the server may need to start.

About

Tic-tac-toe is a simple, 2-player, strategy game played on a board of 9 cells set out in a 3x3 square. The first player places an "X" an any cell. The second player places an "0" in any remaining cell. The players continue taking turns placing their mark in remaining cells. The winner is the first player to place three of his marks in a row, column, or diagonal.

Ultimate Tic-Tac-Toe then takes this a step further and is a 2-player computer game played on a game board comprising nine tic-tac-toe games set out in nine mini-squares within a 3x3 greater-square. Thus, there are 81 cells, arranged in nine 3x3 mini-squares within a greater square.

Rules

Objective

The objective of this game is to be the first to win three tic-tac-toe games lying in a row, column, or diagonal within the greater-square.

Rules of Play

  1. The first player may place an "X" in any cell within any mini-square on the board.
  2. The selected cell position within this mini-square corresponds to the mini-square position within the greater-square where the second player must then place an "O".
  3. Thereafter, the two players take turns placing their mark in any unfilled cell within the mini-square dictated by the cell position marked by the previous player. For the first player, this mini-square will be outlined in red.
  4. The first tic-tac-toe winner in a mini-square remains the winner in that mini-square for the remainder of the game.
  5. If a player is sent to a mini-square in which all the cells are filled, the player may next place his mark in any unfilled cell in any other mini-board.

Branches

Branch Travis CI Server
Production Build Status Heroku
Development Build Status

License

This project is licensed under the MIT License - see the license file for details

reacttictactoe's People

Contributors

roryclaasen avatar

Watchers

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