Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rabestro/jetbrains-academy-tic-tac-toe-ai
Everybody remembers this paper-and-pencil game from childhood: Tic-Tac-Toe, also known as Noughts and crosses or Xs and Os. A single mistake usually costs you the game, but thankfully it is simple enough that most players discover the best strategy quickly. Let’s program Tic-Tac-Toe and get playing!
https://github.com/rabestro/jetbrains-academy-tic-tac-toe-ai
ai artificial-intelligence hyperskill jetbrains-academy minimax minimax-algorithm recursion recursive-algorithm stream student-project tic-tac-toe
Last synced: 6 days ago
JSON representation
Everybody remembers this paper-and-pencil game from childhood: Tic-Tac-Toe, also known as Noughts and crosses or Xs and Os. A single mistake usually costs you the game, but thankfully it is simple enough that most players discover the best strategy quickly. Let’s program Tic-Tac-Toe and get playing!
- Host: GitHub
- URL: https://github.com/rabestro/jetbrains-academy-tic-tac-toe-ai
- Owner: rabestro
- License: mit
- Created: 2020-07-04T11:49:23.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-10T20:21:11.000Z (almost 4 years ago)
- Last Synced: 2024-11-07T11:51:57.584Z (about 2 months ago)
- Topics: ai, artificial-intelligence, hyperskill, jetbrains-academy, minimax, minimax-algorithm, recursion, recursive-algorithm, stream, student-project, tic-tac-toe
- Language: Java
- Homepage: https://hyperskill.org/projects/81
- Size: 75.2 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tic-Tac-Toe with AI
## About
Everybody remembers this paper-and-pencil game from childhood: Tic-Tac-Toe, also known as Noughts and crosses or Xs and Os. A single mistake usually costs you the game, but thankfully it is simple enough that most players discover the best strategy quickly. Let’s program Tic-Tac-Toe and get playing!## Learning outcomes
After finishing this project, you'll get to know a lot about planning and developing a complex program from scratch, using classes and methods, handling errors, and processing user input. You will also learn to use OOP (Object-Oriented Programming) in the process.## What you’ll do and what you’ll learn
- [Stage 1/5: Initial setup](https://hyperskill.org/projects/81/stages/447/implement)
Learn how to work with the field and the coordinates.- [Stage 2/5: Easy does it](https://hyperskill.org/projects/81/stages/448/implement)
Make an easy difficulty level where the computer just makes random moves: simple to make and not too challenging to beat.- [Stage 3/5: Watch 'em fight](https://hyperskill.org/projects/81/stages/449/implement)
Whether you want to play with a friend or take a break and watch computers battle it out, you can do both!- [Stage 4/5: Signs of intelligence](https://hyperskill.org/projects/81/stages/450/implement)
Let’s create a medium difficulty level. This AI should be a lot harder to beat! Are you up to the challenge?- [Stage 5/5: An undefeated champion](https://hyperskill.org/projects/81/stages/451/implement)
Oh no, what have we created here? An unbeatable AI monster! Indeed, this complex algorithm guarantees a win or a draw.