Talk:Playing cards: Difference between revisions

From Rosetta Code
Content added Content deleted
m (asking for clarification. ~~~~)
 
Line 7: Line 7:
'Print the contents of the deck'. Does this mean the cards that are still left
'Print the contents of the deck'. Does this mean the cards that are still left
(not yet dealt out) ? [[User:Gerard Schildberger|Gerard Schildberger]] 03:01, 21 January 2011 (UTC)
(not yet dealt out) ? [[User:Gerard Schildberger|Gerard Schildberger]] 03:01, 21 January 2011 (UTC)
:The examples on the page seem to "deal" one card -- that is, remove one card from the deck and return it. You are right about printing the contents of the deck. In the future if you are confused about a task like this you should try to figure out what the existing examples do. If the examples do different things then note it on the talk page. If the examples follow a pattern then copy that pattern for your example and change the task description if you think it is unclear. Be careful, though. Sometimes adding too many minor details gets away from the spirit of the task. --[[User:Mwn3d|Mwn3d]] 04:14, 21 January 2011 (UTC)

Revision as of 04:14, 21 January 2011

clarification ?

I would appreciate a little clarification:

Deal what? (A hand? Cards face up? If a hand, how many hands? How many cards?)

'Print the contents of the deck'. Does this mean the cards that are still left (not yet dealt out) ? Gerard Schildberger 03:01, 21 January 2011 (UTC)

The examples on the page seem to "deal" one card -- that is, remove one card from the deck and return it. You are right about printing the contents of the deck. In the future if you are confused about a task like this you should try to figure out what the existing examples do. If the examples do different things then note it on the talk page. If the examples follow a pattern then copy that pattern for your example and change the task description if you think it is unclear. Be careful, though. Sometimes adding too many minor details gets away from the spirit of the task. --Mwn3d 04:14, 21 January 2011 (UTC)