Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've seen a couple of these, namely Java and C#/XNA...and I've recently been picking up Python. Which kind of made me think.

What (famous) games have been written in Python, with Pygame/Pyglet/Pyopengl?

share|improve this question

closed as not constructive by Noctrine Oct 12 '12 at 20:06

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

CW is now a mod-only feature. Converted. Also consider flagging your post with that reason if you want us to get to it faster. – Tetrad Oct 31 '10 at 12:43
Huh... I thought he was just overlooking the box, but you're right, @Tetrad, wiki is now mod-only. Seems strange, why wouldn't they allow users to apply it themselves? – Cyclops Oct 31 '10 at 13:23
Missing in Action: the Wiki button. Apparently it was causing confusion and pain to users - next to go will be the Search button... – Cyclops Oct 31 '10 at 17:31
Some games use Python for scripting. I heard Unreal is going to use Python, not sure if it is true, though. – user712092 Aug 1 '11 at 12:37
up vote 20 down vote accepted

Eve Online is probably the biggest, and uses Stackless Python, a lightweight, microthreaded version of Python. And Civilization IV had a Python interpreter built-in, but I'm not sure if that was for scripting only, or how much of the game was written in it.

Also, Disney's Pirates of the Caribbean was written using the Panda3d game engine (which allows both Python and C++ scripting, but from googling it - Disney used Python). The engine is in C++, but then again, the Python interpreter itself also uses a lot of C code. :)

For a long list of games:

which also covers a lot of well-known games, like Mount and Blade.

share|improve this answer
The graphics engine for Eve is custom and written in C/C++, so by these requirements it wouldn't be "in Python". – coderanger Oct 31 '10 at 18:13
@coderanger, true - but the condition (famous game && pure Python) == null - so I dropped the pure condition, whereas you dropped the famous condition. :) (Unless Galcon is famous, but I suspect Eve Online is moreso). – Cyclops Nov 1 '10 at 15:58
Actually only the client is in C++. – Radomir Dopieralski Feb 28 '12 at 21:09
@RadomirDopieralski Do you have a reference for that? I'd like to know for sure since you all disagree. Thanks. – johnny Aug 11 '13 at 2:02

The original version of Galcon was in pure Python, though it has long since been ported to other languages (at last count there were Obj-C, Flash, and C++ versions). It does still use Python for AI via the TinyPy library, but I suppose that is "just scripting".

As a general comment, Python isn't really well suited for making a blazingly fast graphics engine. You get far more control writing the core, performance-sensitive code in C or C++ and then writing the complex game logic in Python. Python excels at the more logic related areas since its expressiveness is a productivity win over C and the drop in performance isn't an issue. This is why everyone (CCP, Panda3D, Unity, Civ4, etc) all work like this. The real question is does this count as being "in Python"? For example, in Eve everything related to the actual game (more or less) is in Python, the C++ part is just a generic game engine that handles pushing pixels and audio.

share|improve this answer

Frets on Fire (in addition to Galcon, which is not native Python anymore) is the only "native Python" game I can think of that achieved some degree of lasting fame.

share|improve this answer

Also, Battlefield Heroes, the cartoony version of battlefield (Handles most of the game logic)

And, BattleField 2 and 2142 (For logic and server controls)

share|improve this answer
Source? For why should DICE write a new game/engine in Python when they have good ones in C++ already? – Peter Ølsted Aug 1 '11 at 13:24
A link is good. – The Communist Duck Aug 1 '11 at 15:45 It says on the page that Battlefield Heroes uses Python – LizardGamer Aug 1 '11 at 23:56
I downvoted you because you didn't provide any source or details. Now that you added that, I removed it. – Tetrad Aug 2 '11 at 0:17
Well maybe if you looked at the same link at the top, you wouldn't of given me downvotes like you usually do! – LizardGamer Aug 2 '11 at 7:36

Disney's "Toontown" and "Pirates of the Carribean Online" use the Panda3D engine with Python scripting.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.