Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Commit

Permalink
Fix public image
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali-Toosi committed Apr 16, 2022
1 parent f075da9 commit 5d3ff2b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions public_image/get_bot_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
exit()

dirs = [dir[:-1] if dir[-1] == '/' else dir for dir in dirs]
dirs = [dir.replace(' ', r'\ ') for dir in dirs]
with open('command.sh', 'w') as f:
args = ' '.join(dirs)
f.write(f'codequest22 --no-visual {args}')
2 changes: 1 addition & 1 deletion public_image/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
oaisudoiajsdoiausd==0.0.6
oaisudoiajsdoiausd==0.0.8
5 changes: 4 additions & 1 deletion public_image/run_game.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/bin/bash

set -u
set -e

python get_bot_names.py
chmod +x command.sh
./command.sh
cp bots/replay.* ./
cp ./replay.* bots/
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
requests
oaisudoiajsdoiausd==0.0.6
oaisudoiajsdoiausd==0.0.8

0 comments on commit 5d3ff2b

Please sign in to comment.