vibe coding an orbital mechanics simulation to try out claude code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
cinnaboot 68d61ee0ea docs: Add comments to orbital_mechanics and fix parabolic test design 10 months ago
configs Remove deprecated comet orbit test and config 11 months ago
docs Reduce Newton-Raphson test plan from 14 to 11 files after overlap analysis 10 months ago
ext Add raygui integration and UI functionality for body selection 10 months ago
src docs: Add comments to orbital_mechanics and fix parabolic test design 10 months ago
tests docs: Add comments to orbital_mechanics and fix parabolic test design 10 months ago
.gitignore add new test binary to .gitignore 10 months ago
.gitmodules Add raygui integration and UI functionality for body selection 10 months ago
AGENTS.md fix: Replace deprecated Approx() with WithinAbs() and fix orbital mechanics bugs 10 months ago
Makefile update ctags when running make 10 months ago
README.md Restructure documentation: extract and consolidate 10 months ago
opencode.json Restructure documentation: extract and consolidate 10 months ago

README.md

Orbital Mechanics Simulation

A 3D orbital mechanics simulation using a 2-body gravitational model with sphere of influence (SOI) transitions.

Features

  • 2-body gravitational physics with SOI transitions
  • Configurable star systems via toml files

Getting Started

Cloning the Project

git clone --recursive https://github.com/yourusername/claudes_game.git
cd claudes_game
git submodule update --init --recursive  # If already cloned without --recursive

Dependencies (Debian 13)

sudo apt update
sudo apt install -y build-essential g++ make libx11-dev libxcursor-dev \
    libxrandr-dev libxinerama-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev \
    libcatch2-dev

Building

make              # Build raylib (first time) and compile sources
make rebuild      # Clean and rebuild
make clean-all    # Clean everything including raylib

Running

./orbit_sim       # Run with the default solar system configuration

Documentation

Testing

make test              # Run full automated test suite

All tests use Catch2 framework with configurable time steps and durations.

License

This project is provided as-is for educational and research purposes.