玩 is versatile: 玩游戏 (wán yóuxì, play games), 好玩 (hǎowán, fun/interesting), 玩具 (wánjù, toy), 玩笑 (wánxiào, joke). It can also mean 'to go out/hang out': 出去玩 (chūqù wán).
grammar
玩 can be used without an object to mean 'have fun' or 'hang out': 周末我们一起出去玩吧 (Let's go out and have fun this weekend).