pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
PyBomb

PyBomb - 0.2

Michal Rapacz (michail)

Tags:

Description

Simple Minesweeper clone written in Pygame.

Changes

Worked on some display optimization and added a timer

Links

Home Page: http://michailgames.com/
Source: http://michailgames.com/pybomb.zip

Screenshot


click to view original size

Releases

PyBomb - 0.2 - Aug 11, 2011
PyBomb - 0.1 - Jul 11, 2010

Pygame.org account Comments

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

June 20, 2011 9:02pm - Zachariah Callaway - nickname: (xzcallaway)
A .deb package of Pybomb is available for download at http://www.dotdeb.com/minesandothers.php
July 28, 2010 10:22am - pippo - nickname: (pippo123)
http://www.accessori-elettronica.it
July 12, 2010 4:17am - josmiley / Luke spywoker - nickname: (mutualaccount)
well, but the code is fairly optimized
for example you can replace lines 216-234 with:
____for y,x in enumerate(('veryeasy','easy','normal','hard','veryhard','impossible')):

________x = MEDIUM.render(x, True, (0, 0, 0))

________screen.blit(x, (self.width - x.get_width()-(118-x.get_width())/2, y*32+8))

____R = [Rect(self.width - 119, x*32+12, 118, 24) for x in 0,1,2,3,4,5]

____E = Rect(self.mouse_x,self.mouse_y,0,0).collidelist(R)

____if E>-1:

________pygame.draw.rect(screen, (0, 0, 0), R[E], 1)


then delete lines 23-28 ...
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 28, 2014

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)