Commit graph

201 commits

Author SHA1 Message Date
Ilion Beyst
bd5dd17eb9 refactor: move bot api calls to submitpane 2022-03-06 16:37:11 +01:00
Ilion Beyst
47ec2c6721 fix opponent selection 2022-03-05 12:10:41 +01:00
Ilion Beyst
af04709fe1 add save bot form 2022-03-04 20:23:58 +01:00
Ilion Beyst
a8986d7a28 add bot selection on demo page 2022-03-03 21:38:49 +01:00
Ilion Beyst
b70328227e allow selecting opponent in demo 2022-03-03 21:12:18 +01:00
Ilion Beyst
0f7c3c3102 don't allow overwriting bots for now 2022-03-01 20:23:31 +01:00
Ilion Beyst
5265e19507 bot upload PoC 2022-02-28 22:44:06 +01:00
Ilion Beyst
da3d7ed02d create code bundle indices 2022-02-27 22:58:11 +01:00
Ilion Beyst
edb3ead976 retrieve opponent from bots database 2022-02-27 22:57:06 +01:00
Ilion Beyst
da71643176 seed simplebot on server startup 2022-02-27 21:47:29 +01:00
Ilion Beyst
22a8f3d619 save all uploaded code bundles in database 2022-02-27 20:35:22 +01:00
Ilion Beyst
6ef6a872fe make bot owner nullable 2022-02-27 14:51:32 +01:00
Ilion Beyst
29bd21e489 update README 2022-02-24 22:46:48 +01:00
Ilion Beyst
e96578db48 remove old Rocket artifacts 2022-02-24 21:13:07 +01:00
Ilion Beyst
b07276f3b3 add simplebot source code 2022-02-24 20:44:13 +01:00
Ilion Beyst
b679103a4c update sveltekit version 2022-02-24 18:47:36 +01:00
Ilion Beyst
ad11ae4286 use sveltekit nodejs adapter 2022-02-24 18:38:17 +01:00
Ilion Beyst
bfc2263c7c show match pane when a match is selected 2022-02-23 23:29:14 +01:00
Ilion Beyst
816b3bfc27 show bot stderr 2022-02-23 22:30:36 +01:00
Ilion Beyst
54b9694f0d implement matchlogger 2022-02-23 21:08:56 +01:00
Ilion Beyst
e15944622d poll for matches to complete 2022-02-22 19:44:29 +01:00
Ilion Beyst
006ce35622 persist bot code in localstorage 2022-02-22 18:48:59 +01:00
Ilion Beyst
060b585da1 add default code to get started 2022-02-21 21:00:05 +01:00
Ilion Beyst
9c90e79575 implement basic configuration 2022-02-20 23:06:05 +01:00
Ilion Beyst
8f29332048 adapt frontend to new match api 2022-02-17 17:11:16 +01:00
Ilion Beyst
4dc77e1626 add MatchState to ApiMatch 2022-02-16 18:40:32 +01:00
Ilion Beyst
ebd01757e8 play matches async 2022-02-15 19:54:29 +01:00
Ilion Beyst
c7f4da07c1 separate match data api from match log api 2022-02-12 23:52:45 +01:00
Ilion Beyst
7d743bdbbb consume new match API 2022-02-09 20:16:35 +01:00
Ilion Beyst
fc10359997 store demo matches in database 2022-02-08 20:13:24 +01:00
Ilion Beyst
69f33763ab styling: make sure visualizer does not overflow 2022-02-07 22:50:02 +01:00
Ilion Beyst
dc415a8125 cleanup editor code 2022-02-07 21:36:54 +01:00
Ilion Beyst
4feebe5043 keep persistent EditorSession on demo page 2022-02-07 20:56:08 +01:00
Ilion Beyst
d45699189e visualizer: let window.global be handled by polyfill 2022-02-07 20:08:49 +01:00
Ilion Beyst
c1feeaa7e6 outline demo interface 2022-02-05 16:48:08 +01:00
Ilion Beyst
cd9689c6ef configure python mode and theme for ace editor 2022-02-04 22:41:05 +01:00
Ilion Beyst
0a102a9371 remove send_info method 2022-02-03 20:46:40 +01:00
Ilion Beyst
af7627d346 use ace editor for code editing 2022-02-02 23:21:08 +01:00
Ilion Beyst
db45cea37e temporary setup for showing submission match result 2022-02-02 19:36:18 +01:00
Ilion Beyst
2e3606f1b6 get started on submit page 2022-02-02 18:29:17 +01:00
Ilion Beyst
bfbcc173f8 allow retrieving match log for submitted bot 2022-01-27 19:22:48 +01:00
Ilion Beyst
4a7229b175 correct submitted bot path 2022-01-27 19:12:18 +01:00
Ilion Beyst
294c75823d add endpoint for standalone upload of bot code 2022-01-26 20:54:19 +01:00
Ilion Beyst
a79b338e90 run all bots in python docker for now 2022-01-23 13:23:23 +01:00
Ilion Beyst
f62196d983 implement docker runner 2022-01-22 14:32:43 +01:00
Ilion Beyst
3dd940321c define interface for running containerized bots 2022-01-22 12:41:29 +01:00
Ilion Beyst
c569070d5c mount a code bundle into executor container 2022-01-20 20:30:56 +01:00
Ilion Beyst
5f1c7385c7 docker bot runner PoC 2022-01-20 20:57:39 +01:00
Ilion Beyst
3e18c840d1 running a bot in docker PoC 2022-01-18 20:17:13 +01:00
Ilion Beyst
98384183cc gitignore node_modules 2022-01-17 23:56:11 +01:00