Commit graph

345 commits

Author SHA1 Message Date
Ilion Beyst
6885361204 show confirmation on succesful bot save 2022-05-23 21:13:09 +02:00
Ilion Beyst
4d6a9591d8 add scroll bar to match history 2022-05-22 15:01:02 +02:00
Ilion Beyst
b1151f6ac7 add resource limits to bots 2022-05-21 16:44:58 +02:00
Ilion Beyst
c873f3a1cb stop and remove bot containers after match is finished 2022-05-21 14:20:38 +02:00
Ilion Beyst
17d29c5397 add basic leaderboard view 2022-05-18 22:03:46 +02:00
Ilion Beyst
30de8107b4 implement leaderboard endpoint 2022-05-17 21:13:29 +02:00
Ilion Beyst
a7d56ba0f5 add ratings table 2022-05-09 19:41:33 +02:00
Ilion Beyst
7b142554d8 move match running logic to separate module 2022-04-28 21:31:49 +02:00
Ilion Beyst
e7da88c6a5 restructure server entrypoint for ranker 2022-04-27 20:43:12 +02:00
Ilion Beyst
450d22758e return winner when running a match 2022-04-27 20:08:48 +02:00
Ilion Beyst
39940aaabd add turn limit and environment info to rules 2022-04-25 20:13:18 +02:00
Ilion Beyst
9f24a6184e add saved bot to opponent list 2022-04-25 19:59:43 +02:00
Ilion Beyst
41f1679ef4 persist saved bot name 2022-04-25 19:47:31 +02:00
Ilion Beyst
c43839f471 more elaborate game rules 2022-04-23 12:09:25 +02:00
Ilion Beyst
8cda16d1c9 show rules on first visit 2022-04-23 11:28:40 +02:00
Ilion Beyst
6a39dc214a show player names in visualizer 2022-04-17 20:58:21 +02:00
Ilion Beyst
39cec55bbe format & cleanup 2022-04-16 10:30:11 +02:00
Ilion Beyst
a41b4c48cb show bot name validations in frontend 2022-04-15 19:18:27 +02:00
Ilion Beyst
0027fef74e validate bot names 2022-04-15 19:03:58 +02:00
Ilion Beyst
15e40e4791 auto login after registration 2022-04-09 11:03:37 +02:00
Ilion Beyst
f21182ecdf show login errors 2022-04-09 10:50:17 +02:00
Ilion Beyst
f59bf07d57 show registration errors on register form 2022-04-09 10:18:49 +02:00
Ilion Beyst
cc7014b04b add validation to user registration 2022-04-09 10:04:12 +02:00
Ilion Beyst
0e3ff9201e add responsive css rule to account forms 2022-03-29 23:38:14 +02:00
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