Qt-based 2048 game implementation