A place to submit your own (or edit other peoples') interactive text games in any language!
You can submit whatever you want as long as it's some kind of interactive text game (it needs to have user inputs). Feel free to edit and add on to other people's code too! However, please make worthwhile changes instead of just copy-pasting code. Laziness /=/ learning!
Click the "Fork" icon in the top right to fork the repository.
Once the repository is forked, place your text adventure game inside it and format the file name like this:
text-adventure-game/text-adventure-game.py
Putting the "text-adventure-game/" in front of the name creates a folder for it. Of course, this is just an example. Name it what you want, as long as it matches the format above. It also doesn't have to be python - use any language you want!
Before we begin, here are some simple rules about editing others' work, and why you should or shouldn't do it.
DO edit somebody's work if it:
- Improves the efficiency of their code
- Changes variable values so that the game functions differently
- Adds entirely new code onto their game
These are meaningful submissions that show some thought and effort put into them.
DO NOT edit somebody's work if it:
- Removes white spaces
- Fixes typos
- Makes minor changes that do not change the gameplay or efficiency of the code at all (for instance, changing variable names)
These are not meaningful submissions, as they require little thought or effort, and change very little about the game.
Now that you understand what does or does not count as a meaningful submission, let's move on to the next steps and start working on somebody elses game!
First, open the folder of whichever text game you'd like to edit (inside of your forked repository)
Copy and paste the game inside so that there are two copies of them and add the version number at the end of the one you're editing:
other-game-v2.py
If you're editing a version that has already been edited, add the sub-version number of that version to the end:
other-game-v2-2.py
This ensures that the original author's work is preserved, and your copy is separate.
Once you've edited or added what you want to your copied file, move on to the next step.
Please explain what you want to add in the pull request title, like so:
"Add text-adventure-game"
or
"Add other-game-v2"