izmeina: Roz with clipboard from Monsters Inc (Dolores)
izmeina ([personal profile] izmeina) wrote 2014-10-26 01:28 am (UTC)

Everyone keeps saying that when you click on a random card and know its index number then its value in the 'exposed' list changes. That might be the map but it's certainly not the territory. Well at least not in my case.

Did end up farting around a bit with it until the ridiculous hour of 2 in the morning with absolutely nothing to show for it

All the experiments resulted in either all the numbers showing or none at all. Nothing in between at all.
I spent lots of time concentrating on iteration and such and rather neglected the dark art of indices which turned out to be central to this whole drama.

Still quite stuck on the whole naming and calling of variables thing. I get the whole thing with the distinction between the contents/ values and the index/ position of a particular card but quite clueless about the subtle differences between the different calls.

Lots of folks were getting totally mixed up with the containers and their contents and there were a few good suggestions that future versions of the game should involve matching letters of the alphabet in order to keep the two concepts clearly separated.

So in the end none of the experiments made it into the very basic submitted version
http://www.codeskulptor.org/#user38_A9SsT65Pio_0.py

Some of the assorted experiments got left in this graveyard version with the strange green zombie lurking at the end of the line
http://www.codeskulptor.org/#user38_njmcLhcOLO_20.py

They are warning us already that Blackjack is the big bad project. I can just see an evil Izzie devouring cannibal python making an appearance in November's novel

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org