altered wildcard pattern and order in makeMove; assorted minor stylistic alterations