Archive for February, 2009

Some thoughts about Python

Wednesday, February 25th, 2009

Categories: Game development, Programming

Lately, I’ve been using Python for game development. It’s a very pragmatic language, that’s a lot faster to develop in than something like C++. Here are some of the things I like and dislike about Python.

» Read the rest of this post.

What the loop!

Monday, February 23rd, 2009

Categories: Programming

Here’s something I found in some old notes of mine. What does the following piece of C++ code do?

#include <algorithm>
#include <iostream>
#include <vector>

int main()
{
  // initialize a vector with ten random integers
  std::vector<int> numbers;
  generate_n(back_inserter(numbers), 10, rand);

  // loop through the vector backwards
  for (size_t i = numbers.size() - 1; i >= 0; i--)
  {
    std::cout << i << ":" << numbers[i] << std::endl;
  }
}

Global Game Jam

Saturday, February 7th, 2009

Categories: Game development

Last week, I participated in the Global Game Jam. It’s quite an interesting experience to write a game in only 46 hours, with a team that includes people you have never met before.

» Read the rest of this post.


Bad Behavior has blocked 41 access attempts in the last 7 days.