InstallationΒΆ

Linux

  1. Install python 3.7+

Windows Steps

  1. Download anaconda 3

  2. Start > Anaconda Prompt (anaconda)

Common Steps

  1. Install Dota2

  2. git clone https://github.com/Delaunay/LuaFun.git

  3. cd LuaFun

  4. Install Dependencies

conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
pip install -r requirements.txt
pip install -e .
  1. Change the bot folder

# Linux
DOTA_PATH=/media/setepenre/local/SteamLibraryLinux/steamapps/common/dota\ 2\ beta
ln -f -s botslua/ $DOTA_PATH/game/dota/scripts/vscripts/bots

# Windows
mklink /D $DOTA_PATH/game/dota/scripts/vscripts/bots botslua
  1. Run the simulation

  2. Render the game or use you browser to see how it is going

../_images/StateOverview.png