Fix bug in OpponentMoves()

The given string was not parsed correctly, and some logical issues
existed as well. Both have been resolved, and the framework seems
to work stable now.