Commit graph

262 commits

Author SHA1 Message Date
Ilion Beyst
675bf6fd07 add a simple view with game rules 2022-03-15 19:24:50 +01:00
Ilion Beyst
6929a803da add explicit ViewMode enum 2022-03-14 21:03:39 +01:00
Ilion Beyst
ae2a9f1eb1 fix timezone bug 2022-03-14 20:47:58 +01:00
Ilion Beyst
fd52e266c6 apply clippy suggestions 2022-03-13 15:20:03 +01:00
Ilion Beyst
f7655005ff typo: maches -> matches 2022-03-12 09:04:12 +01:00
Ilion Beyst
a1d7760b72 show opponent name in match list 2022-03-11 00:47:14 +01:00
Ilion Beyst
63695c299c add information about match players to match API object 2022-03-11 00:41:18 +01:00
Ilion Beyst
523de3ba06 save match players in database 2022-03-10 23:35:42 +01:00
Ilion Beyst
95b733ba4d improve submitpane styling 2022-03-06 17:22:05 +01:00
Ilion Beyst
a8c913f284 show errors for saving bots 2022-03-06 16:58:01 +01:00
Ilion Beyst
148178a344 return descriptive errors when saving bots 2022-03-06 16:53:02 +01:00
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