My port of Anki to C++.