An open API service indexing awesome lists of open source software.

https://github.com/jairik/ai-puzzle-game

Utilizes A* Search to automate the 15-puzzle-game, a popular game that includes shifting tiles to a sequential configuration
https://github.com/jairik/ai-puzzle-game

a-star-algorithm ai gui path-finding-algorithms pyqt5

Last synced: 5 months ago
JSON representation

Utilizes A* Search to automate the 15-puzzle-game, a popular game that includes shifting tiles to a sequential configuration

Awesome Lists containing this project

README

          

# 15 Puzzle Game w/ AI Bot

Features the popular 15-puzzle sliding game, which involves sliding tiles on a 4x4 grid to order them in a sequential sequence.

## AI Capabilities
A* Search is utilized to automatically slide the tiles in a pre-computed optimal way, minimizing steps.

![Mid-game Demo](/Demo-Pictures/15-puzzle-game-demo1.png)

## Goal State
Once the board has been solved, the user is challenged to play again, attempting to beat the board's moves.

![Game Win Demo](/Demo-Pictures/15-puzzle-game-demo-completed-game.png)

## Move-by-Move
Additionally, the *'Next-Move-Only'* folder holds the logic for step-by-step iterations, instantly computing the next best move. This leaves expandability for direct player vs. bot actions.