A simple engine written in C++