Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ferdhika31/treasure-hunt

Backend Engineer Assessment. Problem 3
https://github.com/ferdhika31/treasure-hunt

python3

Last synced: 29 days ago
JSON representation

Backend Engineer Assessment. Problem 3

Awesome Lists containing this project

README

        

# Treasure Hunt

Backend Engineer Assessment. Problem 3.

## Assessment Requirements

- [x] Build a simple grid.
- [x] A treasure is hidden within one of the clear path points, and the player must find it.
- [x] From the starting position, the player must navigate in a specific order:
- Up/North A step(s), then
- Right/East B step(s), then
- Down/South C step(s).
- [x] The program must output a list of probable coordinate points where the treasure might be located.
- [x] Bonus points: display the grid with the probable treasure locations marked with a $ symbol.

## Project Requirements

- Python 3.9.1
- Numpy

## Install

### Clone Project
```bash
# Clone this repo
git clone https://github.com/ferdhika31/treasure-hunt.git
```

### Change Directory to Project
```bash
cd treasure-hunt
```

### Install Dependency
```bash
pip install -r requirements.txt
```

### Run Project
To find possible rules and coordinate for finding the treasure, just type the following command:

```bash
python main.py
```

## Screenshoot

![alt text](https://github.com/ferdhika31/treasure-hunt/blob/master/screenshoot.png?raw=true)

![alt text](https://github.com/ferdhika31/treasure-hunt/blob/master/screenshoot2.png?raw=true)