Knight's tour: Difference between revisions

m
→‎{{header|Ada}}: corrected a typo.
m (added an image of a white chess knight.)
m (→‎{{header|Ada}}: corrected a typo.)
Line 20:
=={{header|Ada}}==
 
First, we specify a naive implementation the package Knigths_TourKnights_Tour with naive backtracking. It is a bit more general than required for this task, by providing a mechanism '''not''' to visit certain coordinates. This mechanism is actually useful for the task [[Solve a Holy Knight's tour#Ada]], which also uses the package Knights_Tour.
 
<lang Ada>generic