functioning game with winning message