pygame is
Simple DirectMedia Layer is
Site Swing

PyHalebarde - 0.2

Laurent Peuch (psycojoker)



An adaptation of "Halebarde et Gonfanon" in pygame. It's a small strategy game that could be a board game.

For now you have to play on the same computer but we plan in a not so long term to add an online support.
Having an AI would be a great but I am not experimented in that sort of things, but if you do and want to code one for the game contact me.

This game still lack some proper documentation but you can read the originals rule here (they are also avaible in french).

We use some graphismes of Wesnoth:

PyHalebarde support custom theme, we haven't write documentation about that but you can look in the theme directory to have an idea on howto made your one, it's not realy complicated.

Last version:
PPA are available here for debian-ubuntu pkg:
To download the upstream version "bzr branch" in a shell.

You will need pygame and python-gobject and python-json (for theme support) to run the game.

Thanks to Matej Drame we have a py2exe version. But it doesn't support multiplaye. URL:

We also have an irc chan on freenode if you have any questions: #pyhalebarde


We are pleased to announce you the release of pyHalebarde 0.2 "Kasteel".
This release offer a whole new experimental multi-player gaming support using Telepathy framework's tube system. The telepathy support is optional if you only want to play on the same computer. For this to work you will need a recent telepathy-gabble (at least 0.7.21) and Empathy (2.25.92).
To launch a network game with a friend simply launch :
The contact should also have empathy, gabble and pyHalebarde installed and be connected via XMPP/jabber.
There is 3 new translations : Italian, Catalan and Spanish, thanks to keul and malevolant.
It also features a few bug fixes and some Units tests to assure the code quality.

pyhalebarde 0.2 (Kasteel)
* Experimental network gaming support
* Lots of code rewrite to prepare for network support
* Now with Unit Tests for better quality code (LP #322459)
* Don't allow saboteur to move in enemy base. (LP #336355)
* Allow to end turn with keypad's enter (LP #323650)
* New translations : Italian, Spanish and Catalan (thanks to keul and malevolant)


Home Page:


click to view original size


PyHalebarde - 0.2 - Mar 15, 2009
PyHalebarde - 0.1.2 - Feb 2, 2009
PyHalebarde - 0.1 "Kriek" - Oct 29, 2008 account Comments

If you wish to leave a comment with your account, please sign in first.

February 4, 2009 12:51pm - Max Power - nickname: (paolo)
I recommend Ian's Mastermind-libary, too. It's just great and pretty easy to use
February 2, 2009 5:41pm - Ian Mallett - nickname: (geometrian)
For online, I suggest my networking library, Mastermind, which supports TCP and UDP protocols (you probably want TCP) and includes examples and documentation. It's not thread based and very fast.
February 2, 2009 5:10pm - Laurent Peuch - nickname: (psycojoker)
Skizzaltix Zaxali: we already credit wesnoth in our README but I well add a credit here to.

Anon: thanx for your suggestion but we've planed to use the d-tube include in telepathy for our online (
October 30, 2008 12:30pm - Skizzaltix Zaxali - nickname: (skizzaltix)
Neat looking game!
Just a thought--Might be a good idea to credit the <a href="">Wesnoth</a> folks for the sprites. You don't <i>have</i> to, but courtesy counts, right? ;)
October 29, 2008 11:47pm - Anonymous - nickname: (pywiz32)
to do online, look at the source for battleship. 0.1a has the networking fully finished. I will probably post an example on how to do simple networking threading sometime soon.

our projects welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
recent releases
Nov 17, 2015

Nov 12, 2015

Nov 11, 2015

Nov 8, 2015

Oct 16, 2015

Oct 9, 2015

Sep 11, 2015

Sep 6, 2015

Aug 26, 2015

Aug 25, 2015

... more!
for pygame related questions, comments, and suggestions, please see help (lists, irc)