Skip to content

evilsunny/Puzzle-15

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About 15-Puzzle

Game is represented by 4x4 tiles board where 15 numbered tiles are initially placed

in random order and where 16th tile is missing. A tile can be moved to a neighbour empty place. To succeed in the game you need to order tiles from 1 to 15, where tile number 1 is at the top left corner and empty one is at the bottom right corner.

For moving empty tile use keys:

  • w - ↑
  • d - →
  • s - ↓
  • a - ←

Press Enter for confirmation your move.

For creating new board type 'new' and Enter

For exiting from game type 'exit' end Enter.

If you want to try to play make

  • mvn clean install
  • mvn exec:java -Dexec.mainClass="com.company.Main"

About

Implementation of 15 puzzle game

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages