IF games that have source code available that you'd hold up as an example of what good looking source code is supposed to look like. (I was motivated to post this by wanting to study some I7 source, but actually pretty source from other platforms would provide a nice comparison.)
Counterfeit Monkey, by Emily Short 3 votes "To quote the..." [+]"To quote the author, this code is too badass not to release." ( ![]() | |
Scavenger Hunt, by Gilles Duchesne 3 votes "Hugo" [+]"Hugo" --Jonathan Blask... "From a non-Hugo Programmer" [+]"From a non-Hugo Programmer: I've never played the game or written in Hugo, but the source code documentation took away a lot of potential pain and fear quickly." --Andrew Schultz... (No comment) [+](No comment) ( ![]() | |
Raising the Flag on Mount Yo Momma, by Juhana Leinonen 2 votes "Fun to read" [+]"Fun to read: Helped me a lot from a technical and creative standpoint." ( ![]() | |
Bronze, by Emily Short 2 votes "Getting the..." [+]"Getting the obvious choices out of the way." ( ![]() | |
Sand-dancer, by Aaron Reed and Alexei Othenin-Girard 2 votes "In chapters, too" [+]"In chapters, too: I really like how you can see how it looks in several stages e.g. after reading chapter 5 of Aaron Reed's book." --Andrew Schultz... "Another..." [+]"Another straightforward choice, written as example code." --Sam Kabo Ashwell... ![]() | |
Fragile Shells, by Stephen Granade 2 votes "I7 source with detailed comments and a lot of tweaked text" [+]"I7 source with detailed comments and a lot of tweaked text" --Stephen Granade... (No comment) [+](No comment) ( ![]() | |
Hoist Sail for the Heliopause and Home, by Andrew Plotkin 2 votes "Enjoyed looking into it after we played it at ChicagoIF" [+]"Enjoyed looking into it after we played it at ChicagoIF: I found 2 practical hints--text manipulation in I6 and allowing italics in bracketed text in i7--and it's quite well-organized, even funny in places" ( ![]() | |
Ghosterington Night, by Wade Clarke 1 vote "I commented my I7..." [+]"I commented my I7 source to share with people who aren't me. The game is a treasure hunt with a couple of moving NPCs. The source also has a chapter showing how you can include title music/graphics in a glulx project (and handle interpreters that don't support them). I don't hold it up as 'Your source should look like this' but I do hold it up as something I hoped could help others." --Wade Clarke... ![]() | |
Catch That Cat, by Felix Pleșoianu 1 vote "Shameless plug: I..." [+]"Shameless plug: I ported this game to TADS3 specifically in order to learn the language. The code isn't as clean as it could be, but I'm satisfied with it nevertheless. Hope this helps!" --Felix Pleșoianu... ![]() | |
Gardening for Beginners, by Juhana Leinonen 1 vote (No comment) [+](No comment) --Marius Müller... ![]() | |
Narrow Your Eyes, by Ben Collins-Sussman and Jack Welch 1 vote "A good glulx..." [+]"A good glulx introduction in a simple (plot-wise) game. It has lots of fun bells and whistles to learn about." --Andrew Schultz... ![]() | |
Mentula Macanus: Apocolocyntosis, by One of the Bruces and Drunken Bastard 1 vote "I'm not sure..." [+]"I'm not sure that I'd call the source exemplary, but it's at least capable, and highly, highly entertaining. This is source code that reminds you that writing IF is meant to be fun." ( ![]() | |
Kerkerkruip, by Victor Gijsbers 1 vote "Uses extensions to organise source code" [+]"Uses extensions to organise source code: Kerkerkruip's code isn't as pretty as I hope it one day will be, but it is a good example of how code can be organised using extensions." ( ![]() | |
Rover's Day Out, by Jack Welch and Ben Collins-Sussman 1 vote "I7. My understanding is that started coding from mock transcript, so very well organized." [+]"I7. My understanding is that started coding from mock transcript, so very well organized." --Jeremy Freese... ![]() | |
My Name is Jack Mills, by Juhana Leinonen 1 vote (No comment) [+](No comment) --Marius Müller... ![]() | |
Scroll Thief, by Daniel M. Stelzer 1 vote "Inform 7 source..." [+]"Inform 7 source code that demonstrates how to pull off many complex ideas." ( ![]() | |
Escapade!, by Juhana Leinonen 1 vote (No comment) [+](No comment) --Marius Müller... ![]() | |
Ruins, by Graham Nelson 1 vote "One of the..." [+]"One of the standard Inform 6 examples, but a decent looking game in its own right." --strivenword... ![]() | |
> by @, by Aaron A. Reed 1 vote (No comment) [+](No comment) --DB... ![]() | |
Balances, by Graham Nelson 1 vote "Inform 6" [+]"Inform 6" --strivenword... ![]() | |
Figaro, by Victor Gijsbers 1 vote "I hope all my source code is readable, but for the tiny game Figaro I made sure to add comments that make it readable even to a beginning I7 author." [+]"I hope all my source code is readable, but for the tiny game Figaro I made sure to add comments that make it readable even to a beginning I7 author." --Victor Gijsbers... ![]() | |
Poll created on December 20, 2012