Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ferdhika31/treasure-hunt
- Owner: ferdhika31
- Created: 2020-12-09T13:27:55.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-10T04:33:19.000Z (about 4 years ago)
- Last Synced: 2024-11-01T01:12:19.966Z (2 months ago)
- Topics: python3
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)