Close-All-Books

The goal is to close all books on the board by a sequence of mouse clicks. When you click on a closed book, that book is opened; when you click on an open book, that book is closed. In addition, each click changes the current state of the entire row and column that contain the book you've clicked.

Enjoy the game!

Featured at JavaScripter.net
Copyright © 1999 Alexei Kourbatov