JS Teamwork SoftUni - javascript game