animation, rendering and board algorithms