Initial methods for stupid ai implementation. Fixed android build.