Commit graph

127 commits

Author SHA1 Message Date
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
Ilion Beyst
02c0e41b80 Bollard 2022-01-17 23:35:23 +01:00
Ilion Beyst
9ccea2ea17 return user from login call 2022-01-04 23:24:31 +01:00
Ilion Beyst
32131da678 add schema.patch to allow unused imports in schema file 2022-01-03 23:44:01 +01:00
Ilion Beyst
5b10d5e98e add match_state to matches 2022-01-03 23:36:19 +01:00
Ilion Beyst
1cde40b459 basic match views 2022-01-02 17:57:40 +01:00
Ilion Beyst
69331eb08a serve match logs 2022-01-02 17:56:52 +01:00
Ilion Beyst
85dcf3ba2f store matches in database 2022-01-02 16:14:03 +01:00
Ilion Beyst
bdb77f97d6 minimal port of start_match logic 2022-01-01 16:32:55 +01:00
Ilion Beyst
4a077c7c65 extract matchrunner crate from planetwars-cli 2022-01-01 12:10:02 +01:00
Ilion Beyst
e145947d05 match form stubs 2022-01-01 11:26:49 +01:00
Ilion Beyst
8d3b8fd8aa npm run format 2021-12-31 11:38:06 +01:00
Ilion Beyst
74d0189d37 config updates 2021-12-31 11:29:27 +01:00
Ilion Beyst
3e902bb56e list uploaded code bundles on bot page 2021-12-31 11:24:25 +01:00
Ilion Beyst
0f27ca80fb prototype code upload 2021-12-30 23:41:47 +01:00
Ilion Beyst
f5e8b4093a prototype bots pages 2021-12-30 23:40:37 +01:00
Ilion Beyst
c6ca7cf2d1 nest api routes under /api 2021-12-30 16:38:02 +01:00
Ilion Beyst
4912a0dbe7 barebones authentication 2021-12-30 16:34:50 +01:00
Ilion Beyst
522f4270e8 init SvelteKit frontend 2021-12-30 14:15:40 +01:00
Ilion Beyst
3edf5d60f5 rename to planetwars-server 2021-12-30 11:45:59 +01:00
Ilion Beyst
71ee6c99e9 move assets to visualizer package 2021-12-29 22:54:30 +01:00
Ilion Beyst
0c6d978442 separate out visualizer library 2021-12-29 21:25:29 +01:00
Ilion Beyst
3eeaab6cec Merge branch 'backend-server' 2021-12-29 19:56:31 +01:00
Ilion Beyst
1fb4a5151b migrate to axum 2021-12-29 16:11:27 +01:00
Ilion Beyst
ee5af8d076 implement build command 2021-12-28 19:28:19 +01:00