Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 268 Bytes

File metadata and controls

9 lines (5 loc) · 268 Bytes

AI 15-Puzzle Java_version

Using A* algorithm in java to automatically solve the 15 puzzle question.

Structure
  1. Each movement takes g cost 1
  2. Heuristic function calculating by Manhattan distance, the weight for heuristic function is set to be 2.