奶奶游戏
####什么?
一副用 javascript 编写的纸牌和一些玩游戏的帮手
我是为 javascript 类编写的...
####丢失的?
基础甲板课程在
可以在找到一些用于对扑克手牌进行排名的实用功能
这是同名游戏,它是
####如何?
甲板类提供
deck ( ) //constructor
shuffle ( ) //shuffle the deck
reset ( ) //shuffle and reset the index (probably what you wanted when you called shuffle()...)
popCard ( ) //pop the next card off the top
getCard ( ) //just look at the next card (peek)
displayValue ( )