Check out Atomic Chess, our featured variant for November, 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 ]

Comments/Ratings for a Single Item

Earlier Reverse Order Later
PBM bug[Subject Thread] [Add Response]
Mark Thompson wrote on Sat, Aug 23, 2003 11:14 AM UTC:
The PBM system seems to have a bug in the routines that color the board.
When I try to change the colors in the preset for Hexagonal Chess from
magenta, yellow, and cyan to orange, olivedrab, yellow, the colors that
show up on the board are instead three shades of green; and there are blue
patches all around the board's border, as if they landed one tile away
from where they should have landed. Here's the URL it gave me for
accessing my board:

 play.php?game%3DGlinski%27s+Hexagonal+Chess%26set%3Dsmall%26patt
erns%3D%3A+%2A%26hexcolors%3Dorange+olivedrab+yellow%26cols%3D11%
26code%3D1prnqb%2F2p2bk%2F3p1b1n%2F4p3r%2F5ppppp%2F11%2F-PPPPP5%2
F--R3P4%2F---N1B1P3%2F----QB2P2%2F-----BKNRP1%26rules%3D%2Fhexago
nal.dir%2Fhexagonal.html%26board%3D201.012.120.%26shape%3Dvhex

🕸Fergus Duniho wrote on Sat, Aug 23, 2003 08:03 PM UTC:
Thanks for bringing this to my attention. The HexColor constructor had
somehow lost the line for assigning the value for the red part of the
color. Since Yellow and Orange both lack blue, all you got was the green
part. Olivedrab has some blue in it, but it is already a shade of green
anyway. So that's why all the spaces were shades of green. The problem
did not show up for the default colors, because the PBM creates tiles only
as it needs them, otherwise using already created tiles. The tiles for the
default colors had been made before the bug crept in. So they were fine. I
have now fixed the bug, and I deleted all hex tiles created this year. So
it's working fine now.

2 comments displayed

Earlier Reverse Order Later

Permalink to the exact comments currently displayed.