basic AI

Signed-off-by: owwlo <owwlo@163.com>