ai almost works

undo does work tho. for human. use dummygame to test