More refactoring. Moved particles to ball object, made basic "smart AI" that doesn't lose... yet.