
LLM Battlefield
A downloadable game
A 3D Swordfighter where you defeat monsters with the help of your autonomous LLM teammate, Botson. Botson will take actions autonomously dependent on the factors from the environment as well as player input (however the effectiveness of player input isn't super great with Gemma 3 1b). Botson can take the following actions in game:
- "fight" - Fights enemies
- "use_health" - Heals health
- "store_health" - Stores health in inventory
- "equip_sword" - Equips a new sword
- "store_sword" - Stores a sword in inventory
- "transfer_item" - Transfers an item in inventory to the user
- "use_stored_item" - Uses item stored in inventory
- "move_to_player" - Moves towards the player
- "new_location_move" - Moves towards a new location
The game uses Gemma 3 1b along with a Gbnf grammar structure to allow the LLM teammate to interact with the environment. Your goal is to get as many enemy kills as possible while keeping you and Botson alive; though, honestly this is more of a proof of concept than an actual game.
Requires a GPU with at least 4 GB of VRAM to run.
Made in Godot Engine 4.4 and with the NobodyWho plugin (for LLM usage), Terrain3D + Proton Scatter plugin (for environment), and Basic FPS Player plugin (for player movement).
Published | 6 days ago |
Status | Released |
Author | Agreene5 |
Genre | Action |
Tags | 3D, AI Generated, autonomous, llm, Swords |
Install instructions
Download the LLM Battlefield zip file, download Gemma 3 1b (or other LLM, but ensure it's named "gemma-3-1b-it-Q4_K_M.gguf"), unzip the zip file, place the Gemma model in the root of the folder (right next to the .exe), then run the .exe. If that doesn't work I am cooked.
Leave a comment
Log in with itch.io to leave a comment.