Note that there is a bug in the isValidAction in game.c that means the dealer will allow invalid raises. The fix is below. See the comments here for a more complete discussion.

Replace line 822 of game.c with

      return 0; // was -1

(Boolean types and strict type checking are good things.)