Skip to content

thisisprasad/TicTacToe-sdeskill-april30-day4-challenge-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe Game with Computer Player

This is a Command-Line base tic-tac-toe game. One player is human and other player is computer.
The game uses a small AI engine to make decisions while playing the game. The AI-engine is based on the minimax algorithm to make decisions.

Rules

  1. The tic-tac-toe board is a 3x3 matrix(1-indexed). Human player has to give coordinates of the board to make a move.
  2. Human player plays first.
  3. Human player symbol - X. Computer player symbol - O

How to use

You need to have 'java' installed in your machine.
You can either load this repo in any IDE such eclipse of Intellij.
Otherwise, navigate to the src directory. Open the terminal and run the following command

javac Main.java
java Main

Voila! Your game will start.

Snapshots

Game start

Game finish

About

A two player tic-tac-toe game with computer player.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages