Rails application that allows humans to play poker matches managed by the Annual Computer Poker Competition's Dealer program in a web GUI.
56
stars
37
forks
source link
Rename `PlayerActionsController#update_state` and `PlayerActionsController#update` #50
Closed
dmorrill10 closed 9 years ago
The
update_state
andupdate
actions are very poorly named. Next refactoring, rename them to reflect their intent better:update_state
is a tentative update that does nothing if the hand has ended, whileupdate
is a definitive update that only does nothing if there is nothing to update to.Be sure to also rename the associated JS functions.