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
Jun 25, 2016

Jun 19, 2016


Jun 17, 2016

Jun 12, 2016

Jun 3, 2016

Jun 1, 2016

May 27, 2016

May 21, 2016


May 18, 2016


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