InstallationΒΆ
Linux
Install python 3.7+
Windows Steps
Download anaconda 3
Start > Anaconda Prompt (anaconda)
Common Steps
Install Dota2
git clone https://github.com/Delaunay/LuaFun.gitcd LuaFunInstall Dependencies
conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
pip install -r requirements.txt
pip install -e .
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
Run the simulation
Render the game or use you browser to see how it is going