added playgame function