The word 游戏 (yóuxì) can function as a verb meaning 'to play' or 'to amuse oneself,' though it is more commonly seen as a noun meaning 'game.' When used as a verb, it carries a literary or formal tone. In modern Chinese, it most often appears as a noun referring to video games or recreational activities.
小时候我们常在河边游戏。
Xiǎoshíhou wǒmen cháng zài hé biān yóuxì.
When we were little, we often played by the river.
孩子们在院子里游戏了一整天。
Háizimen zài yuànzi lǐ yóuxì le yì zhěng tiān.
The children played in the yard all day long.
古人喜欢在山水之间游戏。
Gǔrén xǐhuan zài shānshuǐ zhī jiān yóuxì.
The ancients liked to play amidst the mountains and waters.