Skip to content

sebastianperruolo/zombie-smash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zombie Smash

LOCKET DEVELOPER CODE CHALLENGE

This approach uses backtraking without any constraint in order to resolve the challenge.

Loading test cases

The execution starts from class App. It loads the test case file using a FileTestCasesReader which implements the TestCasesReader interface. Every TestCase loaded is used to call the backtracking method "play" in GamePlay class.

Backtraking

It starts with the list of ZombieAppearance and a clean GameStatus. The algorithm is explaind with comments in the class GamePlay

Hands on

Build project

mvn package

Run tests

mvn test

Run game

You need to build the project before run it

run.sh [input file]

About

LOCKET DEVELOPER CODE CHALLENGE

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published