11 11 2008

Pelikoodausta Pythonilla

Category: Python, Releases

Kävin tänään kertomassa peliohjelminnista Python-kielellä Oulun yliopiston ohjelmoinnin perusteet -kurssilaisille. Session tuloksena syntyi matopeli, jonka voi ladata alta:

Kuvakaappaus matopelistä

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 comments

4 Comments so far

  1. therauli November 11th, 2008 20:27

    Kiitos hienosta luennosta ;)

  2. raph November 19th, 2008 19:16

    Cute and addictive classic. Looks really great for a 100-line program. pyglet seems to be very efficient.

  3. Screen 13 » Matopeli on Android December 20th, 2008 01:17

    [...] 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 [...]

  4. Antti Haapala July 1st, 2010 13:40

    Download link does not work; download from
    http://muksuluuri.unrealvoodoo.org/projects/matopeli-1.0.zip

    Kudos to google.

Leave a comment