MCPcopy Index your code
hub / github.com/cjdell/ch32-game-rust

github.com/cjdell/ch32-game-rust @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
56 symbols 96 edges 7 files 5 documented · 9% updated 2mo ago★ 501 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

A small side scrolling game for the CH32V003 and SSD1306 OLD display

Demo video

Run the simulator

cargo run -r -p local-test

Build and upload to a real chip

cd crates/oled-test

cargo run -r -Zjson-target-spec

GPIO

PA2 = JUMP
PC4 = MOVE LEFT
PD4 = MOVE RIGHT
PC1 = OLED I2C SDA
PC2 = OLED I2C SCL
PD6 = TX UART (debugging)

Core symbols most depended-on inside this repo

accelerate
called by 7
crates/common/src/scene.rs
next_id
called by 5
crates/common/src/scene.rs
add_entity
called by 5
crates/common/src/scene.rs
bounding_box
called by 4
crates/common/src/scene.rs
slope_collision
called by 4
crates/common/src/scene.rs
init
called by 3
crates/common/src/scene.rs
reset
called by 3
crates/common/src/scene.rs
update
called by 2
crates/common/src/scene.rs

Shape

Method 34
Function 14
Class 5
Enum 3

Languages

Rust100%

Modules by API surface

crates/common/src/scene.rs29 symbols
crates/common/src/core.rs18 symbols
crates/oled-test/src/main.rs5 symbols
crates/local-test/src/main.rs2 symbols
crates/oled-test/build.rs1 symbols
crates/common/src/renderer.rs1 symbols

For agents

$ claude mcp add ch32-game-rust \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact