{"repo":"strakam/generals-bots","free":true,"listed":false,"github":"https://github.com/strakam/generals-bots","clone":"git clone https://github.com/strakam/generals-bots.git","description":"Develop your agent for generals.io!","language":"Python","stars":110,"topics":["botting","machine-learning","reinforcement-learning","strategy","gymnasium","pygame"],"license":null,"category":"machine-learning","readme_excerpt":"Generals.io Bots Installation • Getting Started • Environment • Deployment A high-performance JAX-based simulator for generals.io, designed for reinforcement learning research. Highlights: ⚡ 10M+ steps/second — fully JIT-compiled JAX simulator with vectorized vmap for massive parallelism 🎯 Pure functional design — immutable state, reproducible trajectories 🚀 Live deployment — deploy agents to generals.io servers 🎮 Built-in GUI — visualize games and debug agent behavior [!Note] This repository is based on the generals.io game. The goal is to provide a fast bot development platform for reinforcement learning research. 🏆 Competition This engine powers the Generals Competition. One preset pins the entire competition ruleset: Rectangular 18–21 maps, no neutral castles — you build them (action [2, row, col, 0, 0] ), Deathtouch from turn 800 (a move that executes onto the enemy general's tile wins instantly), a 1200-turn cap, and fog of war (like the original generals.io — each bot sees only the cells next to tiles it owns). The stdio wire protocol and reference bots in Python/C++/Rust live in competition/ — play a local match with: The competition sandbox's exact Python library versions are pinned in competition/requirements.txt — install them to make your local environment match the one your submitted bot runs in (full environment docs). 📦 Installation 🌱 Getting Started Basic Game Loop ⚡Vectorized Parallel Environments Run thousands of games in parallel using jax.vmap : See ","default_branch":null,"files":null,"tree":[],"storefront":"/r/strakam","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/strakam/generals-bots/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}