Commit graph

166 commits

Author SHA1 Message Date
Ilion Beyst
7a3b801f58 use RunMatch in bot_api service 2022-06-11 17:50:44 +02:00
Ilion Beyst
a376698073 update RunMatch helper to allow for remote bots 2022-06-10 21:49:32 +02:00
Ilion Beyst
5ee66c9c9b allow match_player code_bundle_id to be null 2022-06-10 21:09:33 +02:00
Ilion Beyst
d1977b95c8 consistently use player_key and player_id 2022-06-09 20:57:45 +02:00
Ilion Beyst
e3cf0df450 update client to request matches 2022-06-08 23:24:32 +02:00
Ilion Beyst
1b2472fbfc implement grpc match creation PoC 2022-06-08 22:37:38 +02:00
Ilion Beyst
028d4a99e4 run bot process in client 2022-06-07 20:16:42 +02:00
Ilion Beyst
ff061f2a7a timeout when player never connects 2022-06-07 19:12:49 +02:00
Ilion Beyst
69421d7b25 bot api: handle timeouts and disconnects 2022-06-06 20:23:01 +02:00
Ilion Beyst
2f915af919 send player_id through request metadata 2022-06-06 14:25:56 +02:00
Ilion Beyst
d0faec7d1f implement PlayerRouter 2022-06-06 13:08:43 +02:00
Ilion Beyst
90ecb13a17 baby steps towards a working bot api 2022-06-05 21:22:38 +02:00
Ilion Beyst
c3d32e051c basic bot api proto definition 2022-06-03 21:24:18 +02:00
Ilion Beyst
0f80b19614 set up stub grpc client 2022-06-01 20:19:13 +02:00
Ilion Beyst
af5cd69f7b set up gprc server 2022-05-31 21:08:56 +02:00
Ilion Beyst
ef19e3a9e7 significantly lower max_update to obtain a stable ranking 2022-05-30 21:03:09 +02:00
Ilion Beyst
6e1167ee9e save match winner in database 2022-05-29 11:41:52 +02:00
Ilion Beyst
80c60ac69c Merge branch 'feature/leaderboard' 2022-05-28 11:22:44 +02:00
Ilion Beyst
fadcda8503 fix order of arguments in ranker 2022-05-28 11:22:00 +02:00
Ilion Beyst
06ac7a370c implement simple elo rating 2022-05-27 21:57:44 +02:00
Ilion Beyst
643c0e7706 set roboto as default font 2022-05-23 21:24:12 +02:00
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