Generally playing video games is not haram (forbidden). But in any specific game, if there is any haram (forbidden) stuffs exist like nudity and etc etc, then that specific game is haram (forbidden) to play. And some games are haram (forbidden) to play in Islam whether it is in real form or video games form.
One of them is chess. Prophet Muhammad (peace be upon him) said:
“He who played chess is like one who dyed his hand with the flesh and blood of swine.”-(Sahih Muslim: 5612).