Skip to content

Simple Tic Tac Toe game to learn Object Oriented Concepts and implementation of Greedy Algorithms. A simple AI Based implementation has also been done for playing a Tic Tac Toe game

License

Notifications You must be signed in to change notification settings

sbshah97/TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TicTacToe

About

  • 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

To Do

  • Code Documentation
  • Unit Test Cases for each unit in the code!
  • Dividing into modules or objects and refining the logic further!

About

Simple Tic Tac Toe game to learn Object Oriented Concepts and implementation of Greedy Algorithms. A simple AI Based implementation has also been done for playing a Tic Tac Toe game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages