OrsoEric / kaggle-Lux-AI

MIT License
1 stars 0 forks source link

Beginning - Setup Environment, Submit a working Bot #3

Closed OrsoEric closed 3 years ago

OrsoEric commented 3 years ago

Python Version: Conda 3.7

OrsoEric commented 3 years ago

WINDOWS: 0) Instructions 1a) Download and install Python 3.7 1b) Check python is working on CMD by executing "python" "exit()" and "pip" 2a) Download and Install NODE.JS 2b) Check node is working on CMD by executing "node -v" "npm" 3a) Install LUX-AI node package on CMD by executing "npm install -g @lux-ai/2021-challenge@latest" 3b) Check challenge engine by executing on CMD "lux-ai-2021 --help" 4a) Download working python bot from our team "La Compagnia del Carretto" Released Bot 4b) with CMD "cd" into the folder with main.py 4c) execute game engine on our released bot "lux-ai-2021 main.py main.py --out=replay.json"

VSCODE IDE 1) Install Git, Install VSCode, install "Python" extensions, install "Git Graph" extensions and make sure python works 2) clone our team repository, select the submission branch 3) play main.py, the bot will do nothing because it waits input() terminate with ctrl+c 4) on the same VSCode terminal execute "lux-ai-2021 main.py main.py --out=replay.json" image