Skip to content

Repository files navigation

Laboratory_AI_LAB_1

How to Compile and Run the Code

Prerequisites

  • Python 3.x (above 3.0 is stable)

Steps to Compile and Run

1. Clone the repository

git clone https://github.com/MrT2003/Laboratory_AI_LAB_1

# Recommend using virtual environments to set up library
    # For Linux/macOS
        python3 -m venv venv
        source venv/bin/activate
    # For Windows
        python -m venv venv
        venv\Scripts\activate

### 2. Run the application
Input this command in the terminal: python pacman.py --layout _______ --pacman _______
Explain: 
+ In the first blank space, filling the layout that you want (Ex: tinyMaze, mediumMax, myLayout, etc.).
+ In the second blank space, filling the Agent class to supervise the movement of Packman  (Ex: DumbAgent, RandomAgent, BetterRandomAgent, ReflexAgent. )

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages