All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars
 perplexus dot info

 Button puzzle (2) (Posted on 2006-10-27)
There are 16 buttons in a four by four array. Each button has a horizontal arrow, pointing left or right, and a vertical arrow, pointing up or down. Initially, all arrows point towards the center of the array. In the below diagram, U is up, D is down, R is right, and L is left.
```DR DR DL DL
DR DR DL DL
UR UR UL UL
UR UR UL UL```
When you press a button, all other buttons in the direction of its horizontal arrow flip their vertical arrows, while all other buttons in the direction of the vertical arrow flip their horizontal arrows. The following diagram is the result after pressing the button in the upper left corner.

```DR UR UL UL
DL DR DL DL
UL UR UL UL
UL UR UL UL```
Find the least number of button presses required to get to the position in which all arrows point away from the center of the array.

 See The Solution Submitted by Tristan Rating: 4.5000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
 re: Solution | Comment 4 of 10 |
(In reply to Solution by Penny)

How many moves did you allow?  The solution for a strict reversal might require more than you considered.
 Posted by Charlie on 2006-11-05 15:17:21

 Search: Search body:
Forums (0)