Skip to content

A high performance solver to a puzzle game Energy Balance

Notifications You must be signed in to change notification settings

XiaoyangHou/energy-balance-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

High Performance Energy-Balance Solver

A high performance solver to a puzzle game Energy Balance

Requirements To Run

A windows computer, or compile source code in Linux.

Description

  1. Run the solver and input operation code 0 to generate a blank file.
  2. Fill out the block with the numbers from the game screen, these commas are split tags.
  3. For these sum constraint blocks, you must provide the direction by way of appending L, R, U, D.

Example

  1. game puzzle image

  2. fill out the blocks image

  3. run the solver and input operation code 1 to get a solution image

Algorithm

We use DFS (Depth First Search) to solve the problem.
By carefully constructing the order of search, we achieve a high-performance pruning algorithm.

About

A high performance solver to a puzzle game Energy Balance

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages