This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Init --- | |
PythonBot | |
--- Bot used 40 milliseconds --- | |
----------------------------------------------------------------------------- | |
--- Frame #1 --- | |
Traceback (most recent call last): | |
--- Bot used 0 milliseconds --- | |
ERRORED! | |
Response received (if any): | |
Traceback (most recent call last): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip3 install numpy -t ./ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
virtualenv ./ | |
source bin/activate | |
pip install numpy scipy scikit-learn pillow h5py | |
pip install --upgrade --no-deps git+git://github.com/Theano/Theano.git | |
pip install keras | |
deactivate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hlt | |
from hlt import NORTH, EAST, SOUTH, WEST, STILL, Move, Square | |
import random | |
myID, game_map = hlt.get_init() | |
hlt.send_init("RandomPythonBot") | |
while True: | |
game_map.get_frame() |