saurabhkapur / TicTacToe

Simple Tic Tac Toe game to learn Java, Java Swing and AI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Simple Tic Tac Toe game to learn Java, Java Swing and AI.

License:MIT License


Languages

Language:Java 100.0%