hacketyhack/hacketyhack — Issue #138: Incorrect equality operator for Shoes::Color types 
Author: NormPgh
Created: 2011-11-17 03:39:04+00:00
State: open

Using the following snippit:

color1 = ask_color('Player 1: Pick your color')
alert color1
color2 = ask_color('Player 2: Pick your color')
alert color2
if (color2 == color1) then
alert('Player 2: Please pick a different color')
color2 = ask_color('Player 2: Pick a different color')
end

Should the user select the color 'spindrift' (light green - 102,255,204) and 'cantelope' (light orange - 255,204,102) the equality operator indicates that these colors are the same

Also, as a less significant issue, the ask_color() method is not displaying the text within the title.

I'm using v1.0, on OSx 10.6.8

Thanks