Quote


A good programmer is a lazy programmer, because he writes minimum code.
--Anonymous


Monday, September 28, 2015

Queen Puzzle!


Friends,

I am back with a Queen Puzzle. My another adventure with AngularJs. Have fun!

Want to play with source code? Click here to download.

Working well in Chrome and FireFox, but IE seems messy.

Rules

Place Eight queens on the chess board in a non-attacking position
  • To place a queen in a square, click on a empty square
  • To remove a queen from a square, click on a queen on the board
  • To move a queen, first click on a queen to remove it, and then click on an empty square
8
7
6
5
4
3
2
1
a b c d e f g h

Congrats! You have won.


No comments:

Post a Comment