Yet another 2048 clone in C++