Refactor with adding isAllowedMove function
Add bot support and enable by default