Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pi Collisions

A small physics experiment simulating 1D elastic collisions between blocks, built with SDL3 and C++.

Requirements

  • CMake 3.22+
  • A C++20 compiler
  • SDL3

Install SDL3 (macOS via Homebrew)

brew install sdl3

Build

cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j

Run

./build/blocks

Project Structure

/
├── src/
│   ├── main.cpp
│   └── block.h
├── CMakeLists.txt
└── README.md

About

A small physics experiment using SDL and C++ to simulate 1D elastic collisions between blocks

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages