An AI system for playing and analysing Kamisado games