Check out Alice Chess, our featured variant for June, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

The Game of Nemoroth. For the sake of your sanity, do not read this variant! (8x8, Cells: 64) [All Comments] [Add Comment or Rating]
Anonymous wrote on Fri, Apr 15, 2011 08:34 PM UTC:

I'll try to explain as best as I can. This is what I want the computer to do:

Given a Go Away surrounded by one or more pieces, get all the distinct positions the Go Away can produce by screaming.

This is a trivial problem if there are no Basilisks involved, but otherwise it's quite difficult. There are many pushing orders and only a few different resulting positions.

In a worst-case scenario, we may have the Go Away surrounded by both Basilisks and six other pieces. In such a case, there are 8! = 40320 different ways the eight pieces can be pushed, but only a few of those have distinct resulting positions. If we choose to loop through all of the ways, we'll be iterating over tens of thousands of redundant orders! That's not good for efficiency.