11 11 2008
Pelikoodausta Pythonilla
Kävin tänään kertomassa peliohjelminnista Python-kielellä Oulun yliopiston ohjelmoinnin perusteet -kurssilaisille. Session tuloksena syntyi matopeli, jonka voi ladata alta:
Pelataksesi peliä tarvit Pythonin sekä pyglet-lisäkirjaston. Peli toimii Linuxilla, Windowsilla sekä Mac OS X:llä. Kiitokset Tommille musiikista ja ääniefekteistä.
English translation
Today I gave a presentation on game programming using Python to the students attending Programming 101 at the University of Oulu. The result of the session was a classic snake game, which you can download above.
In order to play the game you’ll need Python and the pyglet-module. The game works on Linux, Windows and Mac OS X. Thanks to Tommi for the music and sound effects.
4 comments4 Comments so far
Leave a comment

Kiitos hienosta luennosta
Cute and addictive classic. Looks really great for a 100-line program. pyglet seems to be very efficient.
[...] the natural thing to do was to break out the SDK and take it for a spin. I ported over my earlier Python based snake game (”Matopeli”). You can download the sources and the installation package if you’re [...]
Download link does not work; download from
http://muksuluuri.unrealvoodoo.org/projects/matopeli-1.0.zip
Kudos to google.