Flipping bits game: Difference between revisions

m
added whitespace before the TOC (table of contents), added a ;Task: (bold) header.
(Deleted a comment in Maple)
m (added whitespace before the TOC (table of contents), added a ;Task: (bold) header.)
Line 1:
{{task}} [[Category:Games]]
[[Category:Games]]
 
;The game:
Given an N by N square array of zeroes or ones in an initial
Line 10 ⟶ 12:
whole row or column.
 
;The Task:
The task is to createCreate a program to score for the Flipping bits game.
# The game should create an original random target configuration and a starting configuration.
# Ensure that the starting position is ''never'' the target position.
# The target position must be guaranteed as reachable from the starting position. (One possible way to do this is to generate the start position by legal flips from a random target position. The flips will always be reversible back to the target from the given start position).
# The number of moves taken so far should be shown.
 
<br>
Show an example of a short game here, on this page, for a 3 by 3 array of bits.
<br><br>
 
=={{header|Ada}}==