-
Recent Posts
- Unfinished Projects: One last programming lesson from my dad
- How advertising ruined the rickroll
- Ever’s First Starship
- The CyberConstitution Class
- Processing a long list efficiently in Python
- The education community needs a better online discussion tool
- Ninety Days on Github
- Github streak days 31-60: What I’ve learned
- What I’ve learned from my first 30-day GitHub streak
- How IPython Notebook and Github have changed the way I teach Python
Archives
Categories
Meta
Tag Archives: tutorial
Intro to Programming, Fall 2013
This page includes some links we are using in Introduction to Programming (using Python), for fall 2013. The index page for class lessons is here. From that page, you can get to any of our class lessons. We are writing … Continue reading
Posted in programming
Tagged education, linux, open source, phsgeek, programming exercises, python, python exercises, tutorial
Leave a comment
Balloon Ninja: Wrapping Up
Back to Tutorial Contents Balloon Ninja on GitHub In the last section we added some kittens to the game to make it more challenging, and we cleaned up Engine.py to be a true class. In this section we will post our … Continue reading
Posted in programming, Uncategorized
Tagged balloon ninja, phsgeek, pygame, python, tutorial
Leave a comment
Balloon Ninja: Kittens!
Back to Tutorial Contents Kittens! In the last section we improved the scoring system, which made the game a little more interesting. But so far the game strategy for playing Balloon Ninja is pretty simple. You just grab the sword, and … Continue reading
Balloon Ninja: A better scoring system
Back to Tutorial Contents Pop Rate In the last section of this tutorial, we implemented some logic to determine when the game was over. This was fairly simple logic; the game is over when you miss more than 3 balloons. This … Continue reading
Balloon Ninja: Start Screen and Game Over
Back to Tutorial Contents Start Screen In the last section we added some game logic to Balloon Ninja, which made it more interesting to play. Now let’s add a start button, so the game does not start as soon as we … Continue reading
Balloon Ninja: Adding game logic
Back to Tutorial Contents Faster Balloons In the last section we added a scoreboard to Balloon Ninja. Let’s make the game a little more interesting by making the balloons speed up a little every time a balloon is popped. If you … Continue reading
Balloon Ninja: Adding a Scoreboard
Back to Tutorial Contents Making a scoreboard In the previous section we learned how to pop balloons, which involved looking for collisions between our game’s objects. In this section, we will add a scoreboard to our game. After this, we will … Continue reading
Balloon Ninja: Popping balloons
Back to Tutorial Contents Adding a sword In the previous section we created a balloon and made it rise to the top of the screen. Let’s add a sword that the player can use to pop balloons. To do this, we … Continue reading
Posted in programming
Tagged balloon_ninja, phsgeek, programming, pygame, python, tutorial
Leave a comment
An Introduction to 3d Modeling with openSCAD – openSCAD Basics
I have been introducing some of my math students to 3d modeling using the openSCAD software package. The openSCAD documentation is really good, but can be intimidating to new users. This is a summary of some of the basic shapes … Continue reading
Balloon Ninja: Releasing balloons
Back to Tutorial Contents Showing a balloon In the previous section we created an empty game window, and gave the window a background color. Now let’s add a balloon to the screen. First we need to describe what a balloon is. … Continue reading