pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Life of a Coder

Life of a Coder - 0.2

Giuseppe Franchi (korsaat84)

Tags:

Description

You know when you have an oppressive deadline and you code like crazy for days, hardly eating and sleeping? I know how you feel. So there you go, your daily hell is now a Python game! Created for the Game Design class at the IT University of Copenhagen. This is my first time with PyGame and I had less than a month to develop the game, so the source code is really ugly. And yes, the graphics sucks as well! Enjoy!

Links

Home Page: http://bresciacopenhagen.blogspot.com/2010/10/life-of-coder-v-02.html
Source: http://cid-f11aafb3c941238a.office.live.com/self.aspx/LOAC/Life^_of^_a^_coder^_-^_V0^_2.zip

Screenshot


click to view original size

Releases

Life of a Coder - 0.4 - Apr 25, 2012
Life of a Coder - 0.3 - Jun 3, 2011
Life of a Coder - 0.2 - Oct 22, 2010

Pygame.org account Comments

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

June 22, 2012 7:21am - Simone Cingano - nickname: (imente) - 3/5
love the idea...
funny (i got 11.1)
June 6, 2011 3:41pm - Carsten Eggers - nickname: (masterlee) - 5/5
Define randomCommands this way:
randomCommands = [
"import",

"print",

"...",

]
instead of
randomCommands = {
0:"import",
1:"print",
2:"...",
}
Then you shouldn't need to recount by yourself if you change the list.
Instead of
self.randomCommands[random.randint(0,len(self.randomCommands)-1)]
you could also write:
random.choice(self.randomCommands)
it is much shorter and does the same thing.
March 15, 2011 8:38pm - Zachariah Callaway - nickname: (xzcallaway)
A .deb package of Life of a Coder is available for download at http://www.dotdeb.com/arcade-6.php
October 23, 2010 6:40am - Giuseppe Franchi - nickname: (korsaat84)
Thanks for your comments!
Yeah, the code writing is a pain indeed. I thought about writing entire random strings instead of pressing random buttons (meh), but I hadn't time to implement it.
If you find the game too difficult/unbalanced, edit the script and raise the global variable CODE_PER_SYMBOL, or lower the STRESS_PER_SYMBOL... or both. The playtesting phase has been really really short (almost nonexistent!)
October 22, 2010 7:42pm - Karrie - nickname: (ldd)
xD lol!
October 22, 2010 7:28pm - Hewitt Squared Labs - nickname: (hewitt2labs) - 2/5
It's a neat idea, the code writing (in game) is a pain, I barley got to an idea.
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Oct 21, 2014


Oct 20, 2014

Oct 16, 2014

Oct 9, 2014

Oct 8, 2014

Oct 7, 2014

Oct 4, 2014

Oct 1, 2014

Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

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