Writing your own engine for 2D games in C++: basic considerations | Dark Hacker News