Check out Glinski's Hexagonal Chess, our featured variant for May, 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

Conquer II. The goal of the game is to conquer the opponent's army and to add it to your own army. (8x8, Cells: 64) [All Comments] [Add Comment or Rating]
H. G. Muller wrote on Wed, Jan 3 01:22 PM EST in reply to A. M. DeWitt from 12:54 PM:

function conquerTinker(m) { var v = board[m[3]][m[2]]; if(v & 511) m[4] = m[0], m[5] = m[1], m[-2]++, m[-5] = v ^ 1024; return 0; }

Indeed, you can simply copy this custom addition to the Diagram script and include it on the page where you have a Diagram that you want to do the same.

Caveat is that it is called 'conquerTinker' because the Diagram to which it belonged hade satellite=conquer amongst its definitions. If you want to use it with a Diagram that has satellite=xxx instead, you should call it xxxTinker. (This so that when there are multiple Diagrams on one page, each can know whether the function should be used by them, or ignored.)