Draughts playing lua program