GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Ratcoder/minimax-tic-tac-toe: Java implementation of minimax for solving tic-tac-toe

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
TicTacToe.java
TicTacToe.java
 
 

Repository files navigation

Tic Tac Toe

This is an implementation of the minimax algorithm for solving tic-tac-toe. This guarantees that the computer will never lose.

Example

Welcome to Tic Tac Toe.

 1  2  3 

 4  5  6 

 7  8  9 

Enter your move (1 - 9): 2

 O  X  3 

 4  5  6 

 7  8  9 

...

Computer Wins:

 O  X  X 

 X  X  6 

 O  O  O 

Running

To run the program, compile TicTacToe.java and run the class file:

javac TicTacToe.java
java TicTacToe

License

This project is licensed under the terms of the MIT license.

About

Java implementation of minimax for solving tic-tac-toe

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.