Skip to content

Coby0228/grid_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gridworld Environment and Value Iteration

This is a Flask-based grid map application that implements the policy evaluation algorithm in reinforcement learning.

image

Features

  • Generate a customizable grid (from 3x3 to 10x10)
  • Set a start point (green) and an endpoint (red)
  • Add obstacles (gray)
  • Generate a random policy
  • Compute and display the value of each cell

Running with Docker

Using Docker Compose (Recommended)

  1. Ensure Docker and Docker Compose are installed.

  2. Run the following command in the project root directory:

    cd grid_app
    docker-compose up -d
  3. Visit http://localhost:5000

Running Locally (Without Docker)

  1. Install dependencies:

    pip install -r requirements.txt
  2. Run the application:

    python app.py
  3. Visit http://localhost:5000

About

RL hw1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages