add AI class; implement change hand