What is the best open source game to learn?

This question has been preserved for historical reasons, but it is not considered off-topic, so do not use it as an excuse for publication in the same way.

Additional information at https://stackoverflow.com/faq .




I need to read the code and learn, not play ...

... sure; -)

+70
open source
Oct 22 '08 at 18:21
source share
55 answers
  • one
  • 2

Quake (1,2 and 3) and DukeNukem 3D source code is available under the GPL.

+70
Oct 22 '08 at 18:27
source share

If the reason for using open source code is that the code will be reused and recycled as it develops, then I think that influence and legacy would be two big factors in this decision. Based on this, I would probably vote Rogue / Hack / Nethack . This was one of the seed influences of the lieutenant colonel dungeon genre that lives today in thriving communities that still play these old ASCII games and also have a significant impact on some of the most popular graphic games of all time, like Diablo and Diablo 2.

+67
Oct 22 '08 at 18:29
source share

Battle of Wesnoth

However, you can devote some time to reading http://en.wikipedia.org/wiki/List_of_open_source_games

It also depends on what exactly you want to learn ... For example, there is an annual competition for games written in Pygame

+46
Oct 22 '08 at 18:23
source share

How about OpenTransportTycoon? :) Come one person - this should be the best!

http://www.openttd.org FTW !;)

+37
Nov 14 '08 at 10:23
source share

What about FreeCiv ?

+31
Oct 22 '08 at 18:25
source share

Check out Kenta Cho : http://www.asahi-net.or.jp/~cs8k-cyu/index_e.html . Most of them are written in D and use the Simple DirectMedia layer .

They are very interesting, and the source is extremely readable - an excellent showcase for the D language.

Torus Trooper screenshot:

alt text http://images.macworld.com/images/legacy/images/content/torus.jpg

+31
Oct 22 '08 at 21:23
source share

There is a very good text role-playing game called "make", you are on a search to find the hidden addictions guarded by the bearded sages and fight them.

+25
Oct 22 '08 at 21:44
source share

Robocode is pretty awesome. See Also Wikipedia article .

+20
Oct 22 '08 at 18:24
source share
. . . . . . . . . . . . . . S . . . . . . . * . . . . * . . . . . . . . . . . * . * . . . * . . . . . . . . . . . . . . . . . E . . . . . . . . . . . * . . . . . . . . . . . . . . . . . * . . . . . . 

This ... original Star Trek. PDP11 rulez! :)

+16
Oct 22 '08 at 21:46
source share

I need to go with GNU Chess .

If you are really interested in looking at the code. From the wiki : "Version 5 was essentially a complete rewrite from scratch of GNU Chess to eliminate spaghetti code and replace obsolete data structures with more advanced computer chess implementation methods."

+12
Oct 22 '08 at 19:42
source share

I can't believe Wumpus Hunt was not mentioned.

Or Star Trek ?

+11
Oct 22 '08 at 18:46
source share

two words: Frozen bubble.

+10
Nov 14 '08 at 20:44
source share

My personal favorite is UFO Alien Invasion . I loved the original UFO, and it's a really good clone.

+9
Nov 14 '08 at 20:52
source share

What? Nobody here likes Tux Racer ?

I just LOVE this game !!! It is developing rapidly and can work on almost any decent modern computer (there is no need for expensive graphics cards). And it works on windows too! In addition, he demonstrates that “penguins can fly” (and even exceed the speed of sound: P)

+8
Oct 22 '08 at 18:47
source share

No question in my mind, GL Tron. How can you not love him?

http://en.wikipedia.org/wiki/GLtron

+8
Oct 22 '08 at 19:20
source share

Jagged alliance 2

Its source code was released in 2004 (I think), and since then it has been greatly improved by the mod community. The mod goes under the name JA2 v1.13 , and the community is in the Bear Pit .

PS For reading and learning from code, this may not be the best project. This is old C code with many features spanning hundreds of lines. If you don’t want to learn how to work with outdated code , playing it is much more fun .;)

+7
03 Mar. '09 at 19:32
source share

OK....

If you are in Flight simulators, then finally check out Free Space,

http://scp.indiegames.us/

There are also tons of mods ... a very good person is in the universe of the galaxy, where you actually fly a brand VII viper

http://www.game-warden.com/bsg/

have fun ... errr, of course, where is my head ...

happy reading of code; -)

+5
Oct 22 '08 at 18:28
source share

If you intend to see how the game works and are willing to spend a small amount of money to see it, I highly recommend the GarageGames Torque Gaming Engine . For $ 150, you get all of the AAA game title engine source code (Tribes 2). The content was torn, so you are not buying Tribes 2, but the content is easy to replace. Compared to the cost of other comparable engines, Torque is an amazing deal. And if you ever decide to create a game, you can do it without unduly limiting your licenses.

EDIT: I know this is not Open Source, but for your learning purpose, the code should match. The engine is encoded in C ++, and there is a script layer that is similar to C # / Java syntax.

+5
Oct 22 '08 at 18:36
source share

alt text http://www.classicempire.com/emlogo.jpg

Empire, Wargame of the Century, naturally. You can download it from classicempire.com . The empire dug up students and destroyed marriages since the 1970s.
+5
Nov 10 '08 at 5:33
source share

Sauerbraten Very Good FPS

+5
Nov 14 '08 at 10:19
source share

Wormux really has a fantastic architecture. I am a professional game developer and I think these guys can really be too much. the quality of work smells like years of game experience.

+4
Oct 22 '08 at 20:01
source share
+4
Nov 14 '08 at 10:44
source share

I spent many hours playing FreeCol (Sid Meyer's colonization clone).

I mean "learning FreeCol source code."

+4
Nov 14 '08 at 20:27
source share

Most recently, some of the games from Humble Indie Bundle went open source and are probably quite interesting for people to drop by. Guiche, Lugaru and Penumbra were discovered.

http://www.wolfire.com/humble

+4
Jun 01 '10 at 2:38
source share

Dopewars is fun to play online or on a local network with friends. And it works on Windows, OSX, Linux, iPhone and there is an adaptation on Facebook.

+3
Oct 22 '08 at 18:54
source share

Depending on what platform you are going to, the XNA guys have several “starter kits” of finished projects, the code is available, but it obviously does not open the source code:

http://creators.xna.com/education/starterkits/

+3
Oct 24 '08 at 17:44
source share

So many games, so little time.

+3
Jan 6 '09 at 18:31
source share

Warsow , obviously.

This is FPS, technically advanced as Quake 3, open source, with well-documented code and a great community.

+2
Oct. 22 '08 at 19:28
source share

I can’t believe anyone mentioned Armagetron Advanced yet!

For fans of the Tron movie, this is a great way to spend some time online with other players around the world.

+2
Oct 22 '08 at 19:58
source share
  • one
  • 2



All Articles