Skip to content

jakubiec/treasure-hunt

Repository files navigation

Treasure Hunt

The implementation provides 2 approaches:

Those are represented in the codebase in dedicated packages like object_oriented or functional.

Use cases

  1. Read input from standard input and explore starting at 1,1 It also stores valid input in the memory.
  2. Query endpoint, i.e. curl localhost:8080/treasure/11, to find treasure. The valid input needs to be previously set by Standard Input.

Build&Test&Run

  1. Test with: ./gradlew check
  2. Build with: ./gradlew shadowjar
  3. Run with: java -jar build/libs/treasure-hunt.jar
  4. Enjoy ;)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages