Skip to content

Use the power of AI to help the player by providing him the path to the door using the DFS algorithm or the shortest path using the BFS algorithm

Notifications You must be signed in to change notification settings

MotazBellah/dungeon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dungeon

Dungeon features a map with dragons and fire traps. Player moves around the map seeking to find the door and escape from the dungeon without being eaten with one of the dragons or fall into one of the fire traps

Using the power of AI can help the player by providing him the path to the door using the DFS algorithm or the shortest path using the BFS algorithm

Code

  • This project is written in python 3.
  • Use Flask framework.
  • JS for dynamic interactivity

Rules Dungeon

  • You are allowed to move up, down, left ,and right.
  • Try to find the escape door without being eaten by one of the monsters.
  • The monsters and fire traps are hidden, and you have to guess the correct direction.
  • Using the BFS algorithm you can find the shortest path to the door.
  • Using the DFS algorithm you can find the path to the door.

Clone/Run app

# Clone repo
$ git clone https://github.com/MotazBellah/dungeon

# Install all dependencies
$ pip install -r requirements.txt

# Run
$ python app.py

# Go to http://localhost:5000/ on your web browser.

About

Use the power of AI to help the player by providing him the path to the door using the DFS algorithm or the shortest path using the BFS algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published