JaredHatfield / card-surface

Automatically exported from code.google.com/p/card-surface
0 stars 0 forks source link

CardGames should require implementation of a Help Action #43

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start a new CardGameCommandLine instance
2. Join the game with a browser
3. Try to perform an action

What is the expected output? What do you see instead?

I should be able to perform some action (Bet, Deal, etc.), but there are 
no actions listed in the "Actions:" line item of the command line game 
information.

Original issue reported on code.google.com by krussell...@gmail.com on 6 Apr 2010 at 5:12

GoogleCodeExporter commented 9 years ago
In the current configuration, r186, the Deal action is not available to a 
player until 
they have placed a bet.  After placing the minimum bet it is possible to Deal.  
After 
dealing a game other actions such as hit, stand, and double are unlocked.

Original comment by jjhatf02 on 6 Apr 2010 at 7:26

GoogleCodeExporter commented 9 years ago
It is not a bug, it is a feature...

Are we going to do anything about this?

Original comment by jjhatf02 on 7 Apr 2010 at 12:45

GoogleCodeExporter commented 9 years ago
Does any work need to be done on this issue?  Can I mark this as invalid?

:D

Original comment by jjhatf02 on 9 Apr 2010 at 12:46

GoogleCodeExporter commented 9 years ago

Original comment by jjhatf02 on 14 Apr 2010 at 12:58

GoogleCodeExporter commented 9 years ago
Nice Try.

Both CardGameCommandLine and CardTable should display a Help Action in their 
menus 
that direct the user on how they should act.  I think this is a valid issue and 
a 
useful option.

CardGameCommandLine would list Help under actions.
CardTable would show Help in the branching action menu.

Help should provide direction on the game and what the user needs to do next.  
This 
is definitely an enhancement and ultra-low priority, so I'm making it as such 
and 
not assigning an owner.

Original comment by krussell...@gmail.com on 14 Apr 2010 at 2:48

GoogleCodeExporter commented 9 years ago
I can accept that.

The problem is that this would need to be implemented by the extending class, 
in our 
case Blackjack.

Original comment by jjhatf02 on 14 Apr 2010 at 2:50

GoogleCodeExporter commented 9 years ago
Yes, I would say require every Game-implementing class to extend the Help 
Action.  
Blackjack, Freeplay, etc.

Original comment by krussell...@gmail.com on 14 Apr 2010 at 2:57