make clean

December 1, 2007

Game programming

Filed under: Uncategorized — pharaoh @ 5:24 pm
Tags: , , , , ,

The field of Game programming (writing computer games) has been breeding ground for many innovative ideas, and is always pushing computer science into newer frontiers. And, I don’t mean just the graphics FX, but also the algorithms/data structures used inside the game.

Here is a random collection of links:

Pathfinding algorithms

Interesting description of path-finding algorithms. I wish they had taught algorithms like this back in college.

RealTimeBattle

The objective of this game is to program robots, which are then run inside a simulated environment, and they can compete and attack each other. The robots can be programmed in any language and only communicate via stdin/stdout. I have played with this game many years back, and has helped me understand many concepts in computer science, AI and fishing. Ok, the last one might be wrong.. but who knows 🙂

One thing that this game taught me is the concept of Actors, which seem to be getting a lot of attention these days (Erlang Actors/Scala Actors or this or this or this)

Playing chess with a bayesian spam filter

The author of dbacl, a spam filter based on bayesian models, writes an interesting story of getting dbacl to play chess!

In fact, this is the approach used in most chess playing programs, in the opening section of the game. The opening section is more challenging to deal with because the number of legal moves is very high, and the scores of both players are very likely to be equal (by most heuristic algorithms).

Create a free website or blog at WordPress.com.