Commit graph

271 commits

Author SHA1 Message Date
Ilion Beyst
2479d1ec1a don't show save button when user is not logged in 2022-03-24 20:43:27 +01:00
Ilion Beyst
1692eeb592 require login for uploading bots 2022-03-24 20:07:03 +01:00
Ilion Beyst
2b5a80a032 implement currentUser store 2022-03-22 18:10:39 +01:00
Ilion Beyst
6ab8db31c3 implement navbar user controls 2022-03-21 20:05:49 +01:00
Ilion Beyst
579f16fc51 create common styles for account forms 2022-03-19 21:33:52 +01:00
Ilion Beyst
e4e581b346 style registration page 2022-03-18 19:43:41 +01:00
Ilion Beyst
236a1669d0 remove body styles 2022-03-18 19:05:29 +01:00
Ilion Beyst
fd0d0f0453 populate navbar 2022-03-17 21:59:38 +01:00
Ilion Beyst
d91d98cef5 factor out top bar to __layout.svelte 2022-03-16 20:13:09 +01:00
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