renamed TextArena.lastMove to latestMove
added the opponent API method