Programming an Economy

Today I started working on the code for the first major project I’m doing just for myself in Python. Well, not just for myself. This is a program I promised to write for my brother, as a birthday present.

See, he likes to play this amazingly complex game, Crusoe’s Planet. The economy in this game is very sophisticated, and the game has a market stage that takes a lot of time. Everything stops as you sit down and do a bunch of calculations for buying, selling, and trading commodities in the market. So I offered to write him a program to take care of those calculations. Continue reading “Programming an Economy”

Advertisements

Learning a New GUI

Last fall, I decided to dive back into computer programming—at least beyond the HTML and CSS (and bits of PHP) that I have been playing with for years. This time around, I decided to try Python. I found three free online courses that used Python: “Learn to Program: The Fundamentals” and “An Introduction to Interactive Programming in Python” from Coursera, and “Introduction to Computer Science and Programming” from edX.

The first course was a methodical introduction to programming in Python. It helped remind me of the basics of programming while I tackled the other two courses. The edX course (which I’m finishing up in the next week or so) is a more solid, comprehensive computer science course. I feel like it introduced more theory and more challenging problem sets, but it did have the advantage of being a longer course. The most fun, though, was the interactive programming course, a.k.a. how to create games in Python. Continue reading “Learning a New GUI”