Fixes opponent bugs and updates the doc.