{"id":19816934,"url":"https://github.com/flyingfathead/neural-net-wars","last_synced_at":"2026-05-06T16:35:51.815Z","repository":{"id":244287245,"uuid":"814725920","full_name":"FlyingFathead/neural-net-wars","owner":"FlyingFathead","description":"Neural Net Wars: A Python/pygame-based game where humans battle LLMs (Large Language Models)","archived":false,"fork":false,"pushed_at":"2024-06-14T00:07:31.000Z","size":4672,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-20T09:37:03.644Z","etag":null,"topics":["ai","anthropic","api","claude-api","game","game-ai","game-ai-framework","llm","neural","neural-network","openai","openai-api","openai-api-game","openai-api-python"],"latest_commit_sha":null,"homepage":"https://github.com/FlyingFathead/neural-net-wars/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FlyingFathead.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-13T15:18:48.000Z","updated_at":"2024-10-10T08:26:33.000Z","dependencies_parsed_at":"2024-06-13T21:41:42.689Z","dependency_job_id":"4387baad-f456-4566-8e8e-e7ffee33e7d9","html_url":"https://github.com/FlyingFathead/neural-net-wars","commit_stats":null,"previous_names":["flyingfathead/neural-net-wars"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FlyingFathead/neural-net-wars","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlyingFathead%2Fneural-net-wars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlyingFathead%2Fneural-net-wars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlyingFathead%2Fneural-net-wars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlyingFathead%2Fneural-net-wars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FlyingFathead","download_url":"https://codeload.github.com/FlyingFathead/neural-net-wars/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlyingFathead%2Fneural-net-wars/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32702231,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T08:33:17.875Z","status":"ssl_error","status_checked_at":"2026-05-06T08:33:17.221Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","anthropic","api","claude-api","game","game-ai","game-ai-framework","llm","neural","neural-network","openai","openai-api","openai-api-game","openai-api-python"],"created_at":"2024-11-12T10:11:07.134Z","updated_at":"2026-05-06T16:35:51.788Z","avatar_url":"https://github.com/FlyingFathead.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NEURAL NET WARS\n\n*(note: this is a heavily work-in-progress concept)*\n\nNeural Net Wars is a game where you control a human character to fight against bots controlled by an AI (customizable to run against different LLM's and their API's, such as OpenAI, Anthropic, etc.)\n\n![Neural Net Wars](https://github.com/FlyingFathead/neural-net-wars/blob/main/gfx/neural_net_wars_presentation.png?raw=true)\n\n## Requirements\n\n\nTo run Neural Net Wars, you need the following Python packages:\n\n- `pygame\u003e=2.5.2`\n- `pyttsx3\u003e=2.90`\n- `pydub\u003e=0.25.1`\n- `simpleaudio\u003e=1.0.4`\n\nYou can install the required packages using the following command:\n\n```bash\npip install -r requirements.txt\n```\n\n## How to Play\n\nUse the arrow keys or W, A, S, D to move your character. Press SPACE to start a new game or ESC to exit.\n\n## Features\n\n- LLM implementation basis\n- GUI frontend via pygame\n- ASCII grid and graphical representation of the game state in the backend\n- can be piped to LLM's/LLM API's\n- bots taunting the player in footer messages \u0026 over audio w/ TTS.\n\n## TODO\n\n- AI-controlled bots using a neural network.\n- more sound effects and animations.\n- power-ups and obstacles, other game features etc.\n\n# About\nWIP! Only rudimentary functionalities here at the moment. \n\n**i.e. LLM calling is currently a placeholder -- actual functionality coming soon, hopefully!**\n\n# Changelog\n- v0.15.03 - TTS DSP threading lock adjustment\n- v0.15.02 - TTS DSP bubblegum-duct tape contraption; but it works\n- v0.15.01 - TTS DSP pipeline sketch; unit testing\n- v0.15 - minimal in-game AI implemented w/ BFS pathfinding \u0026 pressure on player\n- v0.14.06 - TTS taunts implemented\n- v0.14.05 - game loop now pretty much working, LLM implementation WIP\n- v0.14.04 - timer was made optional (`false` for immediate mode)\n- v0.14 - collisions and fights\n- v0.13 - more graphics \u0026 processing logic\n- v0.12 - rudimentary graphics added\n- v0.11 - graphics adjustments\n- v0.10 - initial commit","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflyingfathead%2Fneural-net-wars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflyingfathead%2Fneural-net-wars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflyingfathead%2Fneural-net-wars/lists"}