|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Looking for assistance.
Hi, I am a university student from Ohio State and I've been working on just random javaScript projects for myself. I haven't taken courses, I have read books on javaScript though.
I was wondering if someone could help me build a non-complex WAR card game with a Card, Deck, Player, and Driver class. There are 13 suits in each deck and 52 cards in all. I am jammed and I can't think of how to complete this code. |
|
#2
|
||||
|
||||
|
Don't you mean four suits? 13 cards per suit?
Or is this some fancy type of card deck? And by war, do you mean that two-player game I played as a kid... each person took half the deck and we matched cards... the higher card gets the pair... the loser is the player with no cards left... |
|
#3
|
|||
|
|||
|
Precisely
Sorry I meant there are 4 suits and 13 cards in each suit.
When the CPU and Player reach a match (WAR) the cards are disposed and you Type y/n or click a button to go again untill all of the cards (which are split equally in two) are gone. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > Looking for assistance. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|