GithubHelp home page GithubHelp logo

tictactoe's Introduction

tictactoe


Simple tic tac toe game

No installation necessary, just run from the browser.

Built With

  • HTML
  • CSS
  • Plain (or Vanilla) JavaScript

Instructions

Just the usual tic tac toe game, if you've never played here's the rules:

  1. This is a two player game, solo mode to be added in the future.
  2. The game consists of a grid of 3 by 3 squares.
  3. Each player will be assigned either an X or an O, you can check who's turn is it just above the board.
  4. The goal of the game is for one player to place three of their marks in a diagonal, horizontal, or vertical row.
  5. At the end of each round the winning player will will get one point, the scoreboard is located underneath the board.
  6. If you would like to replay, or have made a mistake, you can use the Reset button to start the round over again.

Additions and TODO

Ideally:

  • I would like to be able to scale the game (choose a 4x4+ grid)
  • Add sound effects
  • Use timers to display a "waiting for player" message
  • Improve the styling (sorry I'm not a designer!)

tictactoe's People

Contributors

adanmoses avatar

Watchers

 avatar

Forkers

sharninator

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.