Commit Graph

  • 60fe19c61c fix: rewrite SSH submodule URLs to HTTPS in CI main Daniel Dolezal 2026-05-02 09:39:15 +02:00
  • 79c6b00ace install python-dotenv and asyncpg for postgres daniel156161 2026-04-08 15:03:55 +02:00
  • 3614625c56 remove tail and head of snakes-section daniel156161 2026-04-08 15:03:04 +02:00
  • 341bb27278 change that GameplayDatabase can have different backends, sqlite and postgresql with a Template example backend daniel156161 2026-04-08 14:28:39 +02:00
  • a62501cf22 remove stroing of the Game Board State into Redis or Memory daniel156161 2026-04-08 08:36:54 +02:00
  • f6e19e18e6 speed up loading and saving to redis that the move request are getting a answer when switching workers, strip data that neats to get recomuted every turn daniel156161 2026-04-07 12:13:11 +02:00
  • f479541c04 remove : space between function args daniel156161 2026-04-07 12:02:50 +02:00
  • f0d62a6049 add new Snake with the Name ApexBattleSnake daniel156161 2026-04-07 10:46:45 +02:00
  • d2e1f2560e change metrics endpoint to return json by default and when the useragent contains prometheus to return the output as prometheus string format daniel156161 2026-04-07 07:57:52 +02:00
  • 739c0520f9 move dashboard script block content into own files with new classes to update, render to have a better code overview daniel156161 2026-04-07 03:25:10 +02:00
  • 03968fecdf removed reloading of full gameboard when pushing new game daniel156161 2026-04-07 02:58:12 +02:00
  • f4c0ad193e only allow access to start, move, end endpoint with the user agent BattlesnakeEngine daniel156161 2026-04-07 02:34:31 +02:00
  • 898f8106ed only allow metrics endpoint from localhost and wireguard and prometheus metrics neat to have the prometheus user agent as a extra daniel156161 2026-04-07 02:34:19 +02:00
  • dfa658e4ce only allow access to metrics from prometheus or local adresses and wireguard vpn connection daniel156161 2026-04-07 01:42:25 +02:00
  • abed259129 cleanup server extra variables that are only getting used into server.py daniel156161 2026-04-07 00:23:23 +02:00
  • 8c4f83fb4b move css styleing into own files and allow to open the game with a url on the battlesnake side daniel156161 2026-04-06 23:47:31 +02:00
  • 1b8fa67059 use snake class name and version from GameBoard and remove snake type and version from GameplayTrackingService init daniel156161 2026-04-06 23:24:37 +02:00
  • a2a79b7efb allow to connect the snake head and tail with the body daniel156161 2026-04-06 22:05:13 +02:00
  • 59d01428a9 move side templates and static files into root folder structure to not have it in the code folder daniel156161 2026-04-06 19:35:53 +02:00
  • 3da10189b7 move snake config read functions into battlesnake template and use TemplateSnake as default Version of Snakes daniel156161 2026-04-06 19:24:45 +02:00
  • a8eb6a4447 remove depricated version tag and use .env for container mount path daniel156161 2026-04-06 19:02:39 +02:00
  • 5c1875be60 move imports that longst is ontop daniel156161 2026-04-06 19:02:04 +02:00
  • 7c990f98fc disable GameplayDatabase compression by default daniel156161 2026-04-06 18:30:11 +02:00
  • dd3547678c add 2.5x speed selector daniel156161 2026-04-06 17:59:32 +02:00
  • 0af5f58688 fix loading of storage and not crash the request daniel156161 2026-04-06 17:59:10 +02:00
  • fdc22af4cf fix building of sqlite-zstd with current version to not have a version missmatch error daniel156161 2026-04-06 17:42:53 +02:00
  • ed41c32ad8 don't crash server when sqlite-zstd extension can't be loaded daniel156161 2026-04-06 17:22:27 +02:00
  • 6c34df103e build sqlite-zstd from source to not have a version missmatch of sqlite3 daniel156161 2026-04-06 16:49:00 +02:00
  • af7df92f4d cleanup codebase to use the .testing as local folder with test content daniel156161 2026-04-06 16:48:09 +02:00
  • fbc7a50f34 install qlite_zstd into docker container to compress gameplay database daniel156161 2026-04-06 16:35:59 +02:00
  • 1a1bcd8ec3 move ensure auto vacuum full when init database or change to full when already exists daniel156161 2026-04-06 16:35:05 +02:00
  • fe999c11f4 add compression to GameplayDatabase and test if compression works with the sqlite_zstd extension daniel156161 2026-04-06 16:34:15 +02:00
  • 01343472df move all Databases into the database folder to not have storeage and Database when they are all Databases daniel156161 2026-04-06 16:24:28 +02:00
  • c4238d19e8 remove lines between snakes body parts daniel156161 2026-04-06 06:05:20 +02:00
  • afaf6c7c63 add curves to body when snake moves and show boarder color correctly in the background daniel156161 2026-04-06 06:04:05 +02:00
  • 1cd0f1ed1d fix svg loading to remove garbage icons daniel156161 2026-04-06 05:46:32 +02:00
  • 8f6a2ef674 add Backend Env to use as default for all then spesicich down to memory daniel156161 2026-04-06 05:28:10 +02:00
  • 5328252cf1 move snake builder into game_runtime.py to not pass it around very where daniel156161 2026-04-06 05:27:37 +02:00
  • 41f117e3a8 render Observed At time into user local time and move Snake Status and Thinking Boxes around to look more better daniel156161 2026-04-06 04:44:34 +02:00
  • 43c7720480 fix circular import errors so the server and start again daniel156161 2026-04-06 04:30:02 +02:00
  • 98be2fe6fe move Server code into more services and use them into blueprints or server daniel156161 2026-04-06 04:20:07 +02:00
  • 30eb17bb83 reuse the code from quart_common.web.env to import env_bool and env_int into all classes that are useing this functions daniel156161 2026-04-06 03:33:22 +02:00
  • d89986dba9 move route code out of server into own blueprints and cleanup the codebase daniel156161 2026-04-06 03:10:49 +02:00
  • 0ebb04f0a2 change websocket and game publish to redis backend with pub sub daniel156161 2026-04-06 02:05:56 +02:00
  • 097a7f295a update dashboards over websocket and remove database path from GameplayDatabase output daniel156161 2026-04-06 01:49:26 +02:00
  • 4626a491f5 update Dashboard with new keyboard bindings fix errors with hazards, set win or loss on stale games (older) and push new games real time over the websocket connection when they are finished daniel156161 2026-04-06 00:36:06 +02:00
  • e7d0227cf9 show snake body correctly under hazards daniel156161 2026-04-05 23:08:17 +02:00
  • b7c6a0e345 fix svg color problem show dead resions when very sure and allow to highlight snakes when clicking into them store timout and calcumate Snake Win Rate Overall, fix to use full page of games-body, get win lloss or unknown daniel156161 2026-04-05 23:01:27 +02:00
  • 050dd1083c add snake customizations to dashboard to show head and tail correctly daniel156161 2026-04-05 19:58:20 +02:00
  • 2d603a3b0b add better dashboard with full snake game board daniel156161 2026-04-05 19:57:43 +02:00
  • b9b02cf273 fix UltimateBattleSnake version in snake registry daniel156161 2026-04-05 16:48:45 +02:00
  • 4151810f1b add GameplayDatabase database with dashboard daniel156161 2026-04-05 16:48:12 +02:00
  • 2601c2dcff fix ladder error because api changed values daniel156161 2026-04-05 15:20:25 +02:00
  • efe15dd8e7 update UltimateBattleSnake to 4.5.0 daniel156161 2026-04-05 15:19:53 +02:00
  • 3cb3517892 update snakes with new code daniel156161 2026-04-05 12:20:10 +02:00
  • 00d55b5419 update UltimateBattleSnake to 4.2.0 daniel156161 2026-04-05 03:05:46 +02:00
  • 643f4b468e add snake from claude code daniel156161 2026-04-05 02:52:44 +02:00
  • 332e86e3cc rework dataset function and class structure daniel156161 2026-04-05 02:21:15 +02:00
  • 066a93f755 move RLBootstrapDataset into a own class with its own test file daniel156161 2026-04-05 00:54:15 +02:00
  • eb290dd634 rework folder structure complitly daniel156161 2026-04-04 23:01:34 +02:00
  • 2b8f0396e3 rename Test file and add init file for metric backend to import all at once daniel156161 2026-04-04 22:26:19 +02:00
  • 043d7654f9 rename Metric Classes and change Folder Structure daniel156161 2026-04-04 22:14:14 +02:00
  • a38a600bdc rename ServerMetricsCollector to MetricsCollector daniel156161 2026-04-04 21:29:40 +02:00
  • 9d33c6fded cleanup all worker stats when starting up servers daniel156161 2026-04-04 21:28:26 +02:00
  • 79f23b8be6 Update Best Battle Snake Logic daniel156161 2026-04-04 20:50:01 +02:00
  • 6c68f412d2 don't log move_direction_counts into metric because looking almost the same daniel156161 2026-04-04 19:08:19 +02:00
  • 92a700409d remove http_requests_by_endpoint into metrics daniel156161 2026-04-04 19:05:59 +02:00
  • fc8e0657a0 change that oldest_active_game_age_sec not gets inflated when redis already deleted it daniel156161 2026-04-04 16:40:49 +02:00
  • f8c492f333 not count stale games as active games because they will get deletet after ttl expire into redis daniel156161 2026-04-04 16:02:51 +02:00
  • 5997a1f6c1 only update stuck game metric when game state backend is not redis daniel156161 2026-04-04 15:33:07 +02:00
  • 8564606f4c disable removeing cound of stale games in the backend because redis is doing it daniel156161 2026-04-04 15:28:25 +02:00
  • 561527a21b correct end game active metric count daniel156161 2026-04-04 15:23:56 +02:00
  • 47051a6068 make Metrics Collector Class and auto send to redis when change happend daniel156161 2026-04-04 14:52:21 +02:00
  • c3da096320 allow to send metrics to memory or redis daniel156161 2026-04-04 14:21:54 +02:00
  • eb6a054bc9 removed --websocket-ping-interval into docker startup daniel156161 2026-04-04 13:35:02 +02:00
  • 4daf63d483 update uv.lock file daniel156161 2026-04-04 13:26:17 +02:00
  • 33c8fabc4c use redis.asyncio insted of the old aioredis package daniel156161 2026-04-04 13:25:23 +02:00
  • 00d456a412 update requirements daniel156161 2026-04-04 12:59:52 +02:00
  • 65128b25c2 allow to disable self.running_games as L1 Cache into Worker when useing Redis Backend daniel156161 2026-04-04 12:53:31 +02:00
  • a1c4a4b68d create MemoryGameBoardStore Class and rework Building of Game Board Storage daniel156161 2026-04-04 12:34:00 +02:00
  • 4547e3443b add redis backend for storage of gameboards daniel156161 2026-04-04 12:07:05 +02:00
  • bbdc8b288a create better future planning into BestBattleSnake daniel156161 2026-04-04 12:00:02 +02:00
  • c6ebb5834b auto remove stuck games daniel156161 2026-04-04 10:23:12 +02:00
  • dbcf9cadaf add more metrics data daniel156161 2026-04-04 09:58:11 +02:00
  • 316870ef7a add enemy cut off trap check daniel156161 2026-04-04 09:55:58 +02:00
  • b0d484dbab add dataset and models folder into git ignore file and change train-ai to get the input data from the dataset daniel156161 2026-04-04 00:00:33 +02:00
  • 9e826afa5f add Training for AI and AI Model and allow to collect rl data from BestBattleSnake daniel156161 2026-04-03 23:19:09 +02:00
  • d3b0488e0f update python packages daniel156161 2026-04-03 21:51:13 +02:00
  • 4e9a5595bc cahange battlsnake cli to https url daniel156161 2026-04-03 21:48:27 +02:00
  • 8f938ce3fe Update BestBattleSnake Version to 2.6.0 daniel156161 2026-04-03 21:40:31 +02:00
  • dfcdbae85b add better enemy constrictor projection daniel156161 2026-04-03 21:39:08 +02:00
  • fb579e5fbc add customisable timeout buffer with env variable daniel156161 2026-04-03 21:23:18 +02:00
  • 8f6bc3cfdd add timeout budget when exeaded use quick save move before timeout daniel156161 2026-04-03 21:17:08 +02:00
  • f124ce6f96 head hunt only when my snake is bigger and into dual mode daniel156161 2026-04-03 20:57:33 +02:00
  • 6ab0161b49 add types to function args daniel156161 2026-04-03 20:44:03 +02:00
  • d7bd89eae9 add python doc strings daniel156161 2026-04-03 20:21:12 +02:00
  • eace1872d7 move snake builder into __init__ of snakes file and use it into server class daniel156161 2026-04-03 20:11:46 +02:00
  • 0a3db6ba57 add versions to snakes and read it in server class daniel156161 2026-04-03 19:57:55 +02:00
  • 013ac98821 implement royale game mode and tighten spaces in duel mode daniel156161 2026-04-03 19:26:56 +02:00
  • a3fe386198 use battlsnake cli from git repo and build client localy daniel156161 2026-04-03 18:37:16 +02:00