UNO plugin: fix playable cards during picks
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 14 Oct 2008 10:52:47 +0000 (12:52 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 14 Oct 2008 12:49:46 +0000 (14:49 +0200)
commitc3a762a2dbe70ffdd33455f0f82c7321548fc732
tree89fa3e7b4b4e6e0ed2e3662f6e7c56050724ccee
parent68bcb2b77929549d171af3fd86774d325644d45c
UNO plugin: fix playable cards during picks

A bug in the logic allowed a +2 to be playable on a Reverse of the wrong
color (e.g. g+2, gr, r+2).
data/rbot/plugins/games/uno.rb