A general game player