
Here you can see that:
- The terminal is not properly cleared.
- The final row gets duplicated below it.
I don't know the reason for the second issue, so therefore it is not so easy to fix, but the first issue can be solved by adding the following code in the init() function of GameEngine:
#ifndef __APPLE__
#ifndef __WIN32
std::system("clear");
#endif
#endif