Giter Club home page Giter Club logo

8-puzzle-game-solver-with-gui's Introduction

8 Puzzle Game

Overview

Simple 8 Puzzle game implemented in java with simple GUI implemented in Java SWING as shown

Game preview

The game can be solved and manipulated with the player and can be auto-solved anytime with the 2 solving buttons (See Features and notes below)

Game Features

  • The game can be auto-solved from any situation with A* Search or DFS Search
  • After a solving method is pressed, solving data will be displayed on the top right indicating how long did the search take, number of moves it requires and number of expanded nodes needed to solve the situation (See image below) status Image
  • Solving speed can be adjusted with the last button (press to cycle through different speeds)
  • When the game is solved absolutly nothing happens, I am depending on the players to celebrate themselves in the way they see fit :"D

General Note

  • of course A* is for the optimal solution with the least moves in the minimum time and the DFS is totally horrible it's just there for comparison
  • When using the DFS Solution I strongly advice to set the game speed to Fast (with the last button) as the solution is usually very long
  • You can stop the solution anytime by pressing the Reset button, the solution will stop and the game will reset (no thing else will work while the game is being solved by the Algorithms anyway :P)

8-puzzle-game-solver-with-gui's People

Contributors

amrsaber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.