It is currently Mon Sep 28, 2020 9:51 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: Computer Card Games
PostPosted: Wed Jan 18, 2012 12:19 pm 
Offline

Joined: Thu Oct 28, 2010 8:25 am
Posts: 89
From 500 lines to 5 ?!?! [rofl] This is a BIG improvement. :lol:
I also remember to pass throught a similar process in my old days. Later, I discovered the recursivity, and the power of really fast codes versus the pain of infinite loops! :oops: :lol:


Top
 Profile  
 
 Post subject: Re: Computer Card Games
PostPosted: Thu Jan 19, 2012 4:18 am 
Offline
MCGI Member

Joined: Tue Aug 17, 2010 4:42 am
Posts: 446
Yeah... I had it going something like...

If A do this...
If B do this...
If C do this...
etc, etc, etc...

Each thing they did was almost identical, but not exactly identical, so I made it just pass around some variables.

It's a learning project, never coded anything like this before, I'm figuring everything out though.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2, 3

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
© 2008 phpbbstylists.com
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group