svelte-chessground example: Play vs. random AI