{"id":40,"date":"2013-02-25T18:34:41","date_gmt":"2013-02-25T18:34:41","guid":{"rendered":"http:\/\/ceptimus.co.uk\/?p=40"},"modified":"2013-02-25T18:34:41","modified_gmt":"2013-02-25T18:34:41","slug":"the-minimum-attack-problem","status":"publish","type":"post","link":"https:\/\/ceptimus.co.uk\/index.php\/2013\/02\/25\/the-minimum-attack-problem\/","title":{"rendered":"The Minimum Attack Problem"},"content":{"rendered":"<p>Place five queens on a chess board so that every square on the board is attacked.\u00a0 It&#8217;s an old and famous problem; there are lots of solutions and it&#8217;s pretty easy to find one.\u00a0 Try it for yourself and see!<\/p>\n<p>Now try using just three queens and two rooks.\u00a0 Not so easy this time; the solution is unique if you ignore trivial rotations and reflections of the whole board.\u00a0 What about other attacking forces? Four queens and two pawns maybe?<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/ceptimus.co.uk\/java\/MinAttak\/MinAttak.gif\" \/><\/p>\n<p>The image above is a snapshot of my solver.\u00a0<a href=\"https:\/\/ceptimus.co.uk\/java\/MinAttak\/\"> Click here<\/a> to go to the solver itself. I wrote it over ten years ago when Java applets were flavor of the month.\u00a0 Most modern computers and tablets don&#8217;t have Java available by default and most tablets won&#8217;t let you install Java at all; you can still install Java as a free plug-in in most PC browsers though.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Place five queens on a chess board so that every square on the board is attacked.\u00a0 It&#8217;s an old and famous problem; there are lots of solutions and it&#8217;s pretty easy to find one.\u00a0 Try it for yourself and see! Now try using just three queens and two rooks.\u00a0 Not so easy this time; the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5],"tags":[],"class_list":["post-40","post","type-post","status-publish","format-standard","hentry","category-programming","category-puzzles"],"_links":{"self":[{"href":"https:\/\/ceptimus.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ceptimus.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ceptimus.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ceptimus.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ceptimus.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=40"}],"version-history":[{"count":0,"href":"https:\/\/ceptimus.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/40\/revisions"}],"wp:attachment":[{"href":"https:\/\/ceptimus.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ceptimus.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ceptimus.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}