- symbols:
- '#' represent an obstacle.
- . represent an clear path.
- x represent the player's starting position.
- A treasure is hidden within one of the clear path points, and the user must find it.
- From the starting position, the user must navigate in a specific order:
- Up/North A step(s), then
- Right/East B step(s), then
- Down/South C step(s).
- The program must output a list of probable coordinate points where the treasure might be located.
- Bonus points: display the grid with all the probable treasure locations marked with a $ symbol.
- python3
- jalankan "python3 main.py"
- Karena pada deskripsi task tidak ada navigasi untuk ke kiri, maka permainan ini dibuat dengan 2 mode:
- strict mode, yaitu lokasi rintangan fix sesuai deskripsi task, dan navigasi tidak bisa ke kiri
- non strict mode, yaitu lokasi rintangan akan dirandom, dan navigasi bisa ke semua arah