You can read more about that game on https://en.wikipedia.org/wiki/Pentago
Player 2 move
123 456
--------- Commands:
1|x.x|...|
2|.x.|...| <y><x> - put ball in given location eg. 11
3|o.o|...| R<quadrant number (1-4)>R - Rotate selected part of board 90 degrees right
---------- R<quadrant number (1-4)>R - Rotate selected part of board 90 degrees left
4|...|.x.|
5|...|.o.|
6|...|...|
----------
Command: 65