Code refactoring and basis for alpha-beta search
working AI. diagram to document the turn structure