The Shariah permits such games which exercise the brain and/or the body, provided time is not wasted and the rights of Allah Most High and the rights of the creation are not affected and neither should one become heedless of Salaat.
The game which you ask about benefits neither the brain nor the body. Thus, one should avoid such games at all costs.
And Allah Most High knows best.
Mufti Syed Ziauddin Naqshbandi Qadri
[Professor, Islamic Law, Jamia Nizamia,
Founder-Director, Abul Hasanaat Islamic Research Center]