snake ai in mips