pybreak360 - 1.0.6rc1
every one know this game, but this one is a 360° version, in which you can play up to 4 players in local network.
I have not found anything playing with more than 2 childrens with serverals computers.
An addictive game, easy, and not too long playing time.
So, i made it: an arkanoid / breakout clone which have the particularity to play at 360°.
see pybreak360.cfg to fine configure outside game.
you can play alone, with ComputerBootPlayer, or humans muliplayers.
connect up to 4 players via TCP network.
press 'B' to start/stop as ComputerBootPlayer.
press 'H' to see HiScores.
press 'D' for LevelDesigner.
press 'ENTER' for Menu.
press PAGE_UP, PAGE_DOWN to change level in actual level pack.
select Server using menu/F1, connect/disconnect using menu/F10.
you can't play (yet) several players on the same computer.
it was not the 1st objective.
I hope you'll have as much fun playing it that i got programing (and playing it) also.
next version should mainly clean code.
maybe project to support android platform
game written in Python 2.7.6(&9), Pygame 1.9.1,
tested on linux, winXP, Seven.
Pygame 1.9.2a works also, python3 not (yet).
Pygame.org account Comments
mieze 2015-03-05 08:25:16
Incompatible with my system. On Archlinux there is no ifconfig available at all.
My quick fix was to to replace "LOCAL_IP_NOT_RESOLVED" on line 124 with "127.0.0.1".
Of course this would not work for multiplayer and the game should warn me about that.
Now it runs, but I have not had the time to try it yet. I had to look for solutions for the problem of getting an ip address in Python.
ginoingras 2015-03-07 23:06:32
Thank for the feedback.
your quickfix is the good way, and you sould be able to play multiplayers if you set lan IP from dhcp instead of localhost/127.0.0.1.
there is a similar problem if you have several network intefaces as lan and wlan.
game stop also if comptuer disconected from network (no ip available). this is fixed in 1.0.6, see in git source: http://sourceforge.net/p/pybre...
work on ArchLinux for all interfaces?
ginoingras 2015-03-08 07:54:56
i have to add a way to select local IP from all network interfaces found (how?), and manual settings.
note that port chosen is in .cfg file, but not reported on menu (i prefer simple users to not be confused in to much parameters).
i will finalise the v1.0.6rc1 asap.
Gino Ingras 2015-03-21 17:55:25
v1.0.6 got a bug in multiplayer (single player work well).
on ThreadReception, line 955 sould be "idx = eval(ligne)" instead of "print ("th_R_B:%s\n" %(ligne) )"
this cause ThreadReception falldown when client recive ball message (multiplayer only)
i'll correct it in next release, and also
-add NuclearBall brick bonus,
-add level editor.