|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
another rules question...
is it allowed to read in the entire input.txt file in one go...and then deal the cards from an array?
or do we have to read the input.txt file one line at a time as the cards are dealt? i was just wondering |
|
#2
|
|||
|
|||
|
RE: another rules question...
i also have a question.
does QKA23 qualify as straight? |
|
#3
|
|||
|
|||
|
RE: another rules question...
i don't think so.
and i am wondering about "8 9 10 J Q". i don't think that is a straight, but i might be wrong |
|
#4
|
|||
|
|||
|
RE: another rules question...
" is it allowed to read in the entire input.txt file in one go"
yes, as long as you aren't looking ahead in the deck... "does QKA23 qualify as straight?" no, wrap arounds don't count... |
|
#5
|
|||
|
|||
|
RE: another rules question...
"8 9 T J Q"
would be a straight... |
|
#6
|
|||
|
|||
|
RE: another rules question...
I take it you're trusting us on the no look-ahead :O
|
|
#7
|
|||
|
|||
|
RE: another rules question...
It's not like I can't see your code ;)
|
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Older Contests > another rules question... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|