r/learnpython • • Nov 30 '19

Learn computer programming by implementing games in Python

I ran across this jewel - it looks like a great way to learn programming.

The author transcribed the code from a series of books designed to teach programming in the days of the Commodore 64.

398 Upvotes

31 comments sorted by

12

u/5erif ((√5+1)*.5)^n/√5 Dec 01 '19

I just looked through the original The Mystery of Silver Mountain, and holy crap it looked awesome!

...but, then... I saw the code.

5

u/ignorediacritics Dec 01 '19

Wow, this really makes me appreciate a modern language like Python where you can give descriptive names to everything, modern editors with auto-complete syntax highlighting, etc.

2

u/metaperl Dec 01 '19

So it sounds like you wouldnt like modern languages like Q or Ursula or APL/J.

1

u/ignorediacritics Dec 02 '19

The 2nd looks like you opened a message from your chinese colleague with the wrong encoding.

9

u/[deleted] Dec 01 '19

Could not imagine plugging all that in line for line way back then.

7

u/DiogenesLied Dec 01 '19

I had a C64 and spent forever typing in the machine language compiler. My sister offered to finish it up when I went to school, so I said okay just leave the computer on when you're done... I come home to the computer turned off. My sister explained she had hit record on the datasette recorder and figured when it stopped the program was saved. FFS. Thus endth my programming on the C64.

4

u/[deleted] Nov 30 '19

This is not a resource for ‘learning computer programming’. He just posts the code, and you can copy and run it if you like. There’s no instruction.

2

u/metaperl Nov 30 '19

In conjunction with the original manuals, one can do fine.

3

u/The_Toaster_ Dec 01 '19

Having a reference of working examples of things you're learning about is pretty nice. I agree it's not much of a "Intro to programming" guide though.

7

u/shinitakunai Nov 30 '19

I learn by reverse engineering self-taugh stuff

16

u/LinceAgu Nov 30 '19

Hey, it seems nice! I'll check it out, thank you!

8

u/[deleted] Nov 30 '19

Interesting project. I will check it out

13

u/DrRocksos Nov 30 '19

Commenting so I can remember this! Thank you!

25

u/Donkeydayyy Nov 30 '19

Idk if you knew this already or like your method better but you can save comments or posts by clicking the icon that looks like a bookmark. To access it go onto your profile on pc or sidebar on mobile and go to “saved”

9

u/DrRocksos Nov 30 '19

I did not know this, thank you!

4

u/Donkeydayyy Nov 30 '19

Np i just don’t want to be the only one who abuses the feature

2

u/endisnearhere Dec 01 '19

Great tip! Saving this for later!

2

u/1h8fulkat Nov 30 '19

You know you can just save posts and comments, right?

11

u/DrRocksos Nov 30 '19

I'm a bit older I'm not the best with Reddit, thank you for the info!

1

u/[deleted] Dec 01 '19

Happy cake day, You could use the remindme bot by just commenting !remindme (time)

3

u/sri53 Dec 01 '19

Thanks for sharing

2

u/viswa90 Dec 01 '19

Thank you for sharing

2

u/mojorojo2 Dec 01 '19

Woah seems pretty good.

1

u/Abivarma Dec 01 '19

Good share my dear friend

1

u/beatsbury Dec 01 '19

Yes, the comment is needed here. Thank you for the gem.

1

u/[deleted] Dec 01 '19

Nice

1

u/Paskal1 Dec 01 '19

how can i learn about the 2d lists in matrix?

0

u/who885 Dec 01 '19

commenting so i can maybe come back another time.

1

u/duskhorizon Dec 01 '19

You can use 'save' option for situations like this

0

u/[deleted] Dec 01 '19

[deleted]

1

u/RemindMeBot Dec 01 '19

I will be messaging you in 1 day on 2019-12-02 11:10:05 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


InfoCustomYour RemindersFeedback