A small physics experiment simulating 1D elastic collisions between blocks, built with SDL3 and C++.
- CMake 3.22+
- A C++20 compiler
- SDL3
brew install sdl3cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j./build/blocks/
├── src/
│ ├── main.cpp
│ └── block.h
├── CMakeLists.txt
└── README.md