MCPcopy Index your code
hub / github.com/bones-ai/rust-flappy-bird-ai

github.com/bones-ai/rust-flappy-bird-ai @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
41 symbols 56 edges 9 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Flappy Bird AI

AI learns to play flappy bird.

This is a neuro-evolution simulation of flappy birds implemented in rust using macroquad

Demo

youtube

Usage

  • Clone the repo git clone git@github.com:bones-ai/rust-flappy-bird-ai.git cd rust-flappy-bird-ai
  • Run the simulation cargo run --release
  • To update the simulation configurations use the configs file located at src/configs.rs

Core symbols most depended-on inside this repo

mark_dead
called by 4
src/agent.rs
update
called by 3
src/agent.rs
draw
called by 2
src/agent.rs
add_pipe
called by 2
src/game.rs
init_resources
called by 1
src/resources.rs
selection
called by 1
src/simulation.rs
calc_fitness
called by 1
src/simulation.rs
up_force
called by 1
src/agent.rs

Shape

Method 27
Class 12
Function 2

Languages

Rust100%

Modules by API surface

src/game.rs10 symbols
src/agent.rs8 symbols
src/simulation.rs7 symbols
src/nn.rs7 symbols
src/editor.rs5 symbols
src/resources.rs3 symbols
src/main.rs1 symbols

For agents

$ claude mcp add rust-flappy-bird-ai \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page