pygame is
Simple DirectMedia Layer is
Site Swing

TRI - 1.0

Roman Akulov (shade)



T R I a game by Roman Akulov version 1.0 developed with Python 2.5, PyGame 1.7.1 and PyOpenGL 3.0.0a6 in approximately 6 hours on December 26-28th, 2007 INSTRUCTIONS: Control the blue triangle with the mouse. Avoid intersections with red triangles which will decrease your size. Aim at intersections with green triangles which will increase your size. Only the fact of intersection does matter, the area doesn't. Amount and speed of green and red triangles will gradually increase. The game ends when the blue triangle becomes too small and vanishes. SCORING: You will get the score for each moment you are alive. The greater your size, the more score you will get. The amount of score you get will increase quadratically to the time in game. MISCELLANEOUS: To clear the hi score, remove the "hiscore" file. Edit the "tri.ini" file to change window size or run in fullscreen mode. Good luck!


Home Page:


click to view original size


TRI - 1.0 - Dec 28, 2007 account Comments

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

January 4, 2008 3:32pm - Roman Akulov - nickname: (shade)
Mike, I don't know why it happens, since "glut32.dll" is included in the Windows package. Make sure you unzip the game and run it from its own folder. Alternatively, try to copy "glut32.dll" to your "windows\system32" directory.
January 3, 2008 12:38pm - pymike - nickname: (pymike)
"This aplication has failed to start because glut32.dll was not found. Re-installing this application may fix this problem." Game won't start from windows binary or from source code. :-( HELP!!!
January 2, 2008 7:27pm - Roman Akulov - nickname: (shade)
The game currently has a problem running in fullscreen mode. If anybody knows the reason why, I will greatly appreciate your help!
January 2, 2008 7:20pm - Roman Akulov - nickname: (shade)
You're right. The code uses an extension written in Pyrex (and compiled to C with it). The extension includes a triangle-triangle intersection test. Now, i have added all required source files. To run the game on platforms other than Windows, you will need to compile this extension for your platform. A good chance to learn how to do it. ;)
January 2, 2008 3:40am - Andy Sommerville - nickname: (aksommerville)
Do you have source without '.pyd' files? I presume that those are something to do with Windows.... :(

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

Jan 31, 2017

Jan 24, 2017

Jan 18, 2017

Jan 7, 2017

Dec 30, 2016

Dec 8, 2016

Nov 28, 2016

Nov 27, 2016

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