Code Monkey home page Code Monkey logo

tictactoe's Introduction

TicTacToe

  • This is a game of Tic Tac Toe (with GUI) has four options - user vs user , user vs cpu (where cpu plays randomly), user vs AI and cpu vs AI.
  • After clicking the start game button user can choose any of the 4 options and make your move by clicking on the grid buttons.
  • For options where there is a user playing , the user can enter his name.
  • First user to get three spaces in a row/column or diagonally wins!
  • After the game ends user can start a new game by again clicking on any of the options.

Installation

  • Fork this project to your GitHub account.
  • After forking, enter the following commands in your terminal.
$ git clone https://github.com/salman-bhai/TicTacToe
$ cd TicTacToe/src
$ javac TicTacToe.java
$ java TicTacToe

Next should be fairly simple to follow.

Usage

This is primarily built as a recreational tool for students.

Contributing

  • The repository is open to contribution from all interested developers. Kindly send us Pull Requests with explanation as to what changes you have done.
  • Also, you can write to us by opening an Issue and also solve a current issue if possible.
  • A detailed explanantion of how we came to building this software is maintained at the Wiki page.
  • This repository was created and is currently maintained by @salman-bhai.

License

tictactoe's People

Contributors

sbshah97 avatar saurabhkapur avatar kevinah95 avatar clemus90 avatar himanshu81494 avatar

Watchers

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