A 2048-style game using powers of three