exit(0)

Sadly, this will be my final post for this project.  After all of the programming we’ve learned, this week’s post will be nice and easy with no learning whatsoever.  I will post a few of my own programs for you to take and use for reference or just to play around with! Pokemon Quiz This […]

Read more "exit(0)"

Generating Random Numbers

In this week’s post, you will learn the two main functions of the random library.  Libraries are groupings of code that include pre-made functions so that we, the programmers, do not have to program them ourselves.  The random library includes two important functions that you will use very often in making games! To begin using these functions, […]

Read more "Generating Random Numbers"

While Loops

In this week’s post, we will be covering everything that you need to know about While loops!  After reading through the lesson today, you will know everything you need to know about loops.  While loops are similar to For loops and can be used to accomplish the same tasks; it just takes a little getting used to.  While loops […]

Read more "While Loops"

For Loops – Advanced

This week, we will be finishing up the concept of For loops.  After you complete this lesson, you are halfway to being a master of looping! Loop Nesting Take a look at these next two chunks of code, and see if you can spot any differences: Although these two blocks of code look very similar, their outputs […]

Read more "For Loops – Advanced"

For Loop Basics

In this week’s post, I will be teaching you basic For loop knowledge.  For loops are used to repeat a section of code a set number of times.  All For loops follow the exact same structure.  An example of a basic loop is: The i in the command is a variable that keeps track of how many times […]

Read more "For Loop Basics"

Advanced If Statements

This week, I will be going over some more advanced things you can do with if statements, starting with the else and else if functions. Else and Else If Functions An else statement’s purpose is quite simple: to execute specific code when the condition an if statement tests evaluates to False.  For example, an else […]

Read more "Advanced If Statements"

If Statements

In this week’s post, we will be learning how to properly use something called an if statement.  An if statement is used to test a condition, and then execute some code based on what that condition was.  Here is an example of an if statement that shows what a computer does when an if statement […]

Read more "If Statements"

Comments

In this week’s post, we will be learning how to use comments to explain code! Comments are used in coding to depict what exactly the code is doing at a certain point in time.  Comments do not affect the code in any way, so you are free to comment wherever and whatever you want (the more, […]

Read more "Comments"

Getting Started

In this week’s blog, I will just be running through the steps to get you all set up to start programming! Windows: Firstly, download and install Wing IDE (a very simple and efficient programming environment for Python) from here: wingware.com/downloads/wingide-101/ (“Wing Python IDE”). Then, download and run the Python setup: ProgramArcadeGames.com/python-3.4.3.msi (Craven). Finally, download and run the Pygame setup: ProgramArcadeGames.com/pygame-1.9.2a0.win32-py3.4.msi (Craven). […]

Read more "Getting Started"