GithubHelp home page GithubHelp logo

tic-tac-toe's Introduction

Unbeatable Tic Tac Toe

MIT License Badge

Code Style Airbnb Badge

Pull Requests Welcome Badge

A website where you can play tic-tac-toe against the computer and never, ever, win.

Getting Started

Navigate to the GitHub Page for this repository (under the Environment tab). You should be taken to a page that looks like this:
 Welcome! Welcome to unbeatable tic-tac-toe by fifn2! Your turn will be second to the computer for a while, but that might change in the future. Have fun and feel free to look at the source code if you're curious, and if you find any issues, or have any suggestions, I'd really appreciate you taking the time to tell me here. Without further adieu, press the "Start" button below to start the game! White on green button with text "Start".
Press the white on green button that says "Start".

Prerequisites

In order to fully enjoy this, you should use one of the browserl.ist default supported browsers .

Installing

Out of those supported browsers, I reccomend using the latest version of Chrome or Firefox, which can be downloaded by pressing the "Download Chrome" button on Chrome's website or the "Download now" button on Firefox's website.

Playing

Wait for the computer to play it's turn. After it does, you will be able to click on a square that says "empty" to fill it out with an O. Wait for the computer to fill out its chosen square before chosing your final square.

The computer's third turn

Due to a nasty bug that couldn't be solved before the April 1st deadline for turning this in, this game has to go unfinished for a while.

Roadmap (what we could do)

  • Move the function that controls which move the computer plays to a new module
  • Create a 50% possibility for the human to go first
  • Make this project my first test driven development project
  • Strange twists to classical tic-tac-toe

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the MIT License - see the [LICENSE.txt] (LICENSE.txt) file for details.

Acknowledgments

tic-tac-toe's People

Contributors

fifn2 avatar

Watchers

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