阅读背景:

如何定义其值包含String类型的固定长度数组的映射?

来源:互联网 

I'm attempting to represent the basic strategy of a blackjack game as a map with integer keys whose values are a fixed length array of strings. The keys represent the value of the player's hand, the array index represents the value of the dealers up card (hence the fixed length array of size 10 corresponding to card values 2-11). The string value in the array at the position corresponding to the dealer's up card contains the ideal play (stay, hit, split, double).I'm attempting to represent the basic strategy




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: