Setup for a project/competition amongst students to train a winning Reinforcement Learning agent for the classic game Bomberman.
create conda env by using
conda create --name bomberman python=3.8
pip install numpy tensorflow tqdm keras pygame tables matplotlib
python main.py play --my-agent dqn
starts the game and executes our own trained agent
python main.py play --my-agent dqn --train 1 --no-gui --n-rounds=200
starts the training process (python evaluate_training.py create must be called before training if evaluation is enabled)
- In parameters.py: choose FILENAME, EVALUATION=True
python evaluate_training.py createAttention: Already existing files are overwritten!- train model as described above
python evaluate_training.pyplots the data