Skip to content

KyloRen1/TowerDefenceRLagent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tower Defence RL Agent

GIF 1


This project is an implementation of a classical Tower Defence game, which allows you to play it on your own, and it also includes a gym-like environment for training RL agents.

Current progress

  • PyGame Tower Defence
  • Tower Defence as gym environment
  • DQN - IN PROGRESS
  • inference script for DQN
  • Gameplay recording for Immitation learning

Getting started

  1. Clone repository
git clone https://github.com/KyloRen1/TowerDefenceRLagent
  1. Create python environment
python3 -m venv venv 
source venv/bin/activate
pip install -r requirements.txt
  1. Run game
python -m src.main_game --cfg configs/game_config.yml
  1. Run agent training
python -m src.main_agent --game-cfg configs/game_config.yml \
    --agent-cfg configs/agent_config.yml --world-speed 10

About

Training DQN for Tower Defence

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published