in https://github.com/terroo/flappybird/blob/main/flappy.cpp#L1...
for (std::size_t i {}; i < pipes.size(); ++i) {
C++ has had range based loops for years now, can use that instead here. for (auto& pipe : pipes)
I don't remember if the '&' is needed after the auto though.anyway you should just use Rust, Zig, or Go...