Commit graph

147 commits

Author SHA1 Message Date
Ilion Beyst 7c4314ae23 save matches pagination cursor in url 2022-08-11 23:06:53 +02:00
Ilion Beyst 58c1c5f9fb badly paginated matches 2022-08-09 20:43:02 +02:00
Ilion Beyst 00356d669c properly initialize fetch in ApiClient 2022-08-08 19:12:29 +02:00
Ilion Beyst db7980504f move match index to ApiClient 2022-08-07 10:57:15 +02:00
Ilion Beyst 6f0c1093ac extend api_client for loading match data 2022-08-06 16:12:00 +02:00
Ilion Beyst 4672a08462 introduce ApiClient 2022-08-06 15:23:02 +02:00
Ilion Beyst 70c79646ae show recent matches on bots page 2022-08-05 20:28:51 +02:00
Ilion Beyst 6e75cac7cc extract MatchList component 2022-08-05 19:21:32 +02:00
Ilion Beyst 8f65a7d3e2 create a basic match table 2022-07-31 21:04:48 +02:00
Ilion Beyst fd6664b8e7 set up docs route 2022-07-28 20:32:10 +02:00
Ilion Beyst 18aede91be setup mdsvex 2022-07-27 21:04:51 +02:00
Ilion Beyst 14b51033fc add placeholders for empty lists 2022-07-24 18:09:04 +02:00
Ilion Beyst 90dfc3dec4 create new bot flow 2022-07-24 18:05:20 +02:00
Ilion Beyst 99987f8444 use absolute paths for login and register 2022-07-24 17:49:31 +02:00
Ilion Beyst 109aaf2758 remove global style overrides from visualizer 2022-07-24 17:01:22 +02:00
Ilion Beyst ccfe86729e add bot detail page 2022-07-24 16:45:29 +02:00
Ilion Beyst 33664eff2c basic user profile pages 2022-07-24 15:15:42 +02:00
Ilion Beyst f058000072 fix match detail view 2022-07-19 22:38:52 +02:00
Ilion Beyst d6acb6e071 remove obsolete dependencies 2022-07-19 21:22:51 +02:00
Ilion Beyst 338dc6ac63 bugfix: don't cache textures bound to a specific GLContext 2022-07-18 21:55:35 +02:00
Ilion Beyst d092f5d89c use texture for rendering ships 2022-07-18 21:02:27 +02:00
Ilion Beyst 6e494aca46 add half-pixel correction to text 2022-07-18 07:54:18 +02:00
Ilion Beyst 270476e038 use texture for rendering planets 2022-07-18 07:40:01 +02:00
Ilion Beyst cf248ff41a replace 'target' with 'destination' in rules. Thanks @rien! 2022-06-11 13:30:09 +02:00
Ilion Beyst 80c60ac69c Merge branch 'feature/leaderboard' 2022-05-28 11:22: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 17d29c5397 add basic leaderboard view 2022-05-18 22:03:46 +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 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 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 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 a1d7760b72 show opponent name in match list 2022-03-11 00:47:14 +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 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 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 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 8f29332048 adapt frontend to new match api 2022-02-17 17:11:16 +01:00
Ilion Beyst 7d743bdbbb consume new match API 2022-02-09 20:16:35 +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 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 9ccea2ea17 return user from login call 2022-01-04 23:24:31 +01:00
Ilion Beyst 1cde40b459 basic match views 2022-01-02 17:57:40 +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 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 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 5ca8dd4c84 add websocket stub 2021-12-27 22:18:46 +01:00
Ilion Beyst 109e06ecad fix npm run build-wasm 2021-12-26 22:24:23 +01:00
Ilion Beyst 0418a6b46a show match name in matchbrowser 2021-12-26 22:14:59 +01:00
Ilion Beyst b1e9490f55 add match meta header to logs 2021-12-25 21:49:16 +01:00
Ilion Beyst 003c551e73 implement basic MatchBrowser component 2021-12-25 20:28:10 +01:00
Ilion Beyst d0af8d3bbf use vite-plugin-wasm-pack 2021-12-23 19:25:56 +01:00
Ilion Beyst c26f72890f fix frontend build 2021-12-23 18:22:14 +01:00
Ilion Beyst 96ee00242f add pw-frontend 2021-12-22 13:59:13 +01:00