some correct Stright of Single will be spread into invalid hand(ILLEGAL), like 3,4,5,6,7,7 with be cut into 3,4,5,6 and 7,7. There's must be something wrong with the spreadCard() function. Step to reproduce: -Run landload.java -stat game with single-player mode -after election, input a card like 3 -check the cards and Handlist of robot Except result: If there is SOS, we can find it in handlist and there's no Illegal hand. Actual result: There's illegal hand which is a SOS with 4 cards.
wrong defined in speardCard(), only add (length-1) cards of SOS into HandList. Have modified the code and bug fixed. COOL!!