Category:Examples of code
From IFWiki
This category is meant to encourage the creation of pages of IF coding examples in the IFWiki. Our model for this exercise is the Cloak of Darkness sample game. People will propose a short coding challenge or premise. And then they (or others) will write another page showing how to that coding in a particular IF authoring system. Hopefully we'll get lots of examples. But the trick is how to organize it.
- The coding challenge/premise pages should go in the Category:Example premises category, which will be a subcategory here.
- The actual code examples should go in the category appropriate to their authoring system, and will also be subcategories here. For example:
- Category:Examples of Inform code will list the Inform code examples, and be a subcategory of Category:Inform Tutorial
- Category:Examples of TADS 3 code will list the TADS 3 code examples, and be a subcategory of Category:TADS 3 Tutorial
- The cross-platform example as a whole should also get its own subcategory here. For example, suppose the premise is about restrictions on what the PC can smell. You would create a subcategory called Category:Smell restrictions (Example).
- The page Smell restrictions (Example premise) should be listed under both Category:Smell restrictions (Example) and Category:Example premises.
- The Inform example would be called Smell restrictions (Inform example) and listed under both Category:Smell restrictions (Example) and Category:Examples of Inform code.
- The TADS 3 example would be called Smell restrictions (TADS 3 example) and listed under both Category:Smell restrictions (Example) and Category:Examples of TADS 3 code.
Discuss this on the Category talk:Examples of code page.
Subcategories
This category has the following 11 subcategories, out of 11 total.