What's the best open source game to learn from? [closed]
This question has been preserved for historical reasons, but it is not considered on-topic, so don't use it as an excuse to post something similar.
More info at https://stackoverflow.com/faq.
For me to read code and learn, not to play...
...of course ;-)
Solution 1:
Quake (1,2 and 3) and DukeNukem 3D source code is available under the GPL.
Solution 2:
If part of the reason for open-source code is for code to be reused and recycled as it evolves, then I think influence and legacy would be two large factors in this decision. On this basis, I would probably vote Rogue / Hack / Nethack. It was one of the seminal influences behind the hack-and-slash dungeon-crawling genre, living on today in thriving communities that still play these old ASCII games, as well as having a significant influence on some of the most popular graphical games of all time, such as Diablo and Diablo 2.
Solution 3:
Battle for Wesnoth
That said, you can devote some time reading http://en.wikipedia.org/wiki/List_of_open_source_games
It also depends what exactly do you want to learn... For instance there is an annual competition for games written in Pygame
Solution 4:
What about OpenTransportTycoon? :) Come one people - that's got to be the best!
http://www.openttd.org FTW! ;)