add ai logic
Merge branch 'master' of https://github.com/garyodonoghue/GlitchPerfect