finally, AI part finished, but a lot of bugs, fix them tomorrow