unbeatable implementation of tic-tac-toe using the Minimax Algorithm and Strategy Design Pattern.
-
Updated
May 26, 2021 - Java
unbeatable implementation of tic-tac-toe using the Minimax Algorithm and Strategy Design Pattern.
Halma Two-player Game, Design and Implement an AI Agent
This repo contains a Java-based Tic Tac Toe game featuring a graphical user interface (GUI) for two players.
A simple chess game which is played in the console. Users write their moves in a standard way and get the board representation in the console. Every piece has its corresponding symbol which looks like the actual piece and so do squares.
The program is a digital rendition of Connect 4, where players aim to align four discs vertically, horizontally, or diagonally. Players alternate turns, with the AI using the minimax algorithm and alpha-beta pruning to select its best move. The AI predicts up to 4 moves ahead, emphasizing winning quickly and delaying losses.
Add a description, image, and links to the two-player-game topic page so that developers can more easily learn about it.
To associate your repository with the two-player-game topic, visit your repo's landing page and select "manage topics."