PyWeek 3 ran during the first week of September. Over 30 entries were submitted at the end of the week. Judging just finished and the rankings have been announced.

The PyWeek challenge:

  • Invites entrants to write a game in one week from scratch in Python either as an individual or in a team,
  • Is intended to be challenging and fun,
  • Will let a lot of people actually finish a game, and
  • Inspires new projects (see some games from previous challenges)


Comments

All can I say python is all but suitable for 3d apps. Balazar, Balazar brothers, FretsOnFire, Slune and others show it pretty well. These manage to be slow even on top hardware :)
Re: 6868 posted by richard on Sep 28 2006 2:48 PM
Maybe you might want to try turning the power on or something, "Anonymous". As the author of a couple of 3D games using Python I've never had an issue with speed. And I'm sure the makers of EVE Online would agree.
Re: 6868 posted by anonymous on Sep 28 2006 6:37 PM
I completely agree. On my `somewhat outdated' hardware, Quake3 still runs smoothly, but I'm unable to play any 3D game presented on a contest. There's surely problem with python. Never seen worth of a game written in it, though ;)
Re: 6868 posted by frostwork on Sep 28 2006 8:26 PM
There are several pygames in 3d which are nicely playable on ppc
(Pegasos2/G4) with opensource drivers.
So x86-users having problems with speed "even on top hardware" maybe
should check their system or switch to a better platform ;)
pygame should replace all java & swf web-games! 5 stars for pygame...
Re: 6868 posted by anonymous on Sep 29 2006 4:36 AM
`should check their system or switch to a better platform'

That's the stupidest thing everyone has said, ever.

Re: 6868 posted by line72 on Sep 29 2006 3:07 AM
You could try enabling psyco. It's 32-bit x86 only, but it can really help. You'll need to add the following to the main python file:

import psyco
psyco.full()

Re: 6868 posted by anonymous on Sep 29 2006 4:43 AM
There's no point. a) It's developer's duty to make his code run well, not mine. b) There has been no python game worth playing ever.
Re: 6868 posted by anonymous on Sep 29 2006 4:49 AM
So I can only run python programs FAST on x86? Good point ;))) Actually, it just makes python apps segfault on start. Python is really hopeless :)
Re: 6868 posted by richard on Sep 29 2006 7:01 PM
Please stop posting to this discussion until you have something constructive to say (rather than misinformed FUD) and you're willing to sign your name to it.
Re: 6868 posted by anonymous on Sep 29 2006 10:58 PM

Actually, he has some really good points. System requirements of python games are _really_ high and these games do not even look great... well, some of them might, but generally speaking, many games can be compared to DOS-games in terms of graphics and to recent 3d-games concerning system requirements.

That is something worth to be discussed, I think. Maybe not here, but - please! - point me to a place where we can discuss this, without being offended as trolls.

Btw, stop this you're-posting-anonymous-here-so-your-posting-is-worthless-thing, please. I do not want to register for commenting on one single topic. I'm posting here occasionally, so there is no need to register, IMNSHO. There is an option for posting anonymously for people like me, I think. IP-range should be enough to distinguish between the participators.

Re: 6868 posted by richard on Sep 30 2006 2:27 PM
System requirements for Python games do not have to be high. The games from this challenge will typically not be optimised for performance. As has already been pointed out, they were written in one week (and often by people for whom it's their first game, and they have yet to learn about such things as dirty rect processing).

My game for this challenge - which is in 3d - is as playable on my old powerbook laptop as it is on my gaming desktop.

My entry for the first challenge was also a 3d game, but in that case it was an arcade game and it was also playable on that laptop.

Re: 6868 posted by fydo on Oct 2 2006 9:06 PM
I thought I'd be nice and post a 'nicer' way to turn on psyco that won't shutdown your app for users who do not have it installed...
try:
    import psyco
    psyco.background()
    print 'Enabled psyco (just-in-time Python compiler) Enjoy increased performance!'
except ImportError:
    print 'psyco (just-in-time Python compiler) not found! Continuing anyways ...'

Also note that I'm using .background() which enables psyco but does not turn on the psyco profiler. (That means even more performance for your users! Yay!)

This should help. Also, if it was segfaulting before, it is likely that you do not have psyco correctly installed.
Re: 6868 posted by gnalle on Oct 3 2006 2:57 AM
Does psyco really work out of the box, or do you need to add more details in order to get maximum speedup?
Re: 6868 posted by anonymous on Oct 3 2006 6:08 AM
first you need to have psyco isntalled in your system. next you need to copy paste this code into the main python file
try:
   import psyco
   psyco.background()
   print 'Enabled psyco (just-in-time Python compiler) Enjoy increased performance!'
except ImportError:
   print 'psyco (just-in-time Python compiler) not found! Continuing anyways ...'
Re: 6868 posted by kaol on Sep 29 2006 6:06 AM
Before critisizing Python too much for being slow, you should remember that these games were written for a contest with a set time limit. There might still be very much room for optimization in the entries.
BTW, thats emhsoft.com/singularity/index.html, at least for now...
Re: 6868 posted by anonymous on Sep 28 2006 6:42 PM
Let me give an example. Look here http://funnyboat.sourceforge.net/doc.php. System req's: 1000Mhz recommended. Now look at the screenshots. It's not even 3D! 199x DOS-level graphics, and it f****n needs 1000 MHz!!! Don't waste your time, learn C++ ;)
Re: 6868 posted by anonymous on Sep 28 2006 6:43 PM
Ofh, sorry, that should be a reply to a thread below.
Re: 6868 posted by anonymous on Sep 29 2006 3:03 AM
> Don't waste your time, learn C++ ;)
That's the stupidest thing everyone has said, ever.
Re: 6868 posted by anonymous on Sep 29 2006 4:43 AM
Any arguments, you troll?
Re: 6868 posted by anonymous on Sep 30 2006 3:34 PM
Wait, YOU'RE calling HIM a troll? Mr. "There have been no python games worth playing ever?" I think I know your name, now, it's Mr. Pot.
Re: 6868 posted by anonymous on Oct 1 2006 1:43 PM
Obviously, if you've ever coded in C++ and Python, it's clear that C++ is a waste of programmer's time. When at least 90% of the gaming audience have 1 GHZ or better, why bother optimizing a game for 12 MHZ 386? It may sound like a waste of CPU power when a simple 2d game requires 1 GHZ, but when you play the game, what else would you need to CPU power for? If the game were more optimized your CPU would just be idling, and the programmer's time would've gone to waste.

Log in or register to post a comment.