Local game wont run


#1

I’m Linux system and downloaded the binary game engine code. but when I run the game locally with : hlt play -r “MyBot.py” -r “MyBot2.py” -b ./halite
it gives out error :
[Errno 13] Permission denied: ‘/home/xifan/Downloads/hlt_client/halite’
do I have to run the game with root ?


#2

I think you need chmod +x halite


#3

Probably just need the python3 call

hlt play -r “python3 MyBot.py” -r “python3 MyBot2.py” -b ./halite

#4

solved, first need to make halite binary executable and then in command it’s -r “python MyBot.py”