Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Card game, WAR. LDHSS
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
LolADuck




PostPosted: Sun Dec 10, 2017 12:55 pm   Post subject: Card game, WAR. LDHSS

This is my code for the card game war. Have fun
*I am not the owner of any of the pictures and claim no credit for them*
-KGGUPTA(LolADuck)



WarGame.t
 Description:
WARCARDGAME(KESHAV,LDHSS)

Download
 Filename:  WarGame.t
 Filesize:  18.83 KB
 Downloaded:  272 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
TokenHerbz




PostPosted: Tue Dec 12, 2017 3:22 am   Post subject: RE:Card game, WAR. LDHSS

upload the pictures, a submission should be an running game
LolADuck




PostPosted: Tue Dec 12, 2017 12:23 pm   Post subject: Re: RE:Card game, WAR. LDHSS

TokenHerbz @ Tue Dec 12, 2017 3:22 am wrote:
upload the pictures, a submission should be an running game


oops didnt realize i forgot the pictures



Card Game.zip
 Description:

Download
 Filename:  Card Game.zip
 Filesize:  68.68 KB
 Downloaded:  160 Time(s)

TokenHerbz




PostPosted: Wed Dec 13, 2017 12:06 am   Post subject: RE:Card game, WAR. LDHSS

I ran some speed runs and my findings are skewed heavily to the PC favor, I wonder if that's just coincidence or if your shuffle actually favors giving the PC the better cards.

GAMES RAN
PLAYER TO WIN - ROUNDS IT TOOK
PC - 785
YOU- 215
PC - 636
PC - 1635
PC - 322
PC - 600
PC - 324
PC - 476
PC - 689
PC - 226
YOU- 376

Maybe I can suggest adding in that when a TIE happens each player puts 3 cards into a pot and all cards are WON VIA the 4th card played, like legit war... see how that might change those stats... Smile
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: