Skip to content

ayushTNM/BombermanRL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BombermanRL

We explore the extent to which RL can be applied to the bomberman problem that is traditionally solved with A* and BFS.

What is new and interesting about this project is not just that we found some interesting results, our game also looks good.

Setup

This project does require at least Python 3.9, probably even 3.10.

The setup is simple:

$ git clone git@github.com:ayushTNM/BombermanRL.git   # assuming SSH is set up
$ cd BombermanRL
$ python3 -m venv venv                                # create a virtual environment
$ source venv/bin/activate                            # activate virtual environment
(venv) $ pip install -r requirements.txt
(venv) $ cd src
(venv) $ python3 menu.py -h

This will show all of the parameters you can change from the CLI.

To run the file with default parameters, just type:

(venv) $ python3 menu.py

Some fundamental parameters to look into:

-o [plotname]        # store the learning curves as a plot
-m                   # flag to turn on menu (if you want to play yourself)

Demo

5x5 with 6 crates

5x5 6c demo

5x5 with 7 crates

5x5 6c demo

8x8 with 6 crates

5x5 6c demo

9x9 with 4 crates

5x5 6c demo

10x10 with 6 crates

5x5 6c demo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published