A text-based game written in Java. It was originally created as a project of the progether subreddit and worked on by Applzor, add7, geniuus, Malfunction, bdong_, Qasaur, and tamul. It was revived by Hawk554.
Don't make a pull request to the main repo's master if you don't want your commit merged yet. Don't make pull requests if you're not willing to merge that code.
Rather than opening a pull request, consider opening an issue to discuss the problem you're fixing. Keep the work-in-progress updates to your fork, maybe merging the updates to a separate branch in the main repo if there's enough there to warrant it.
-
Create an issue (optional)
-
Fork the codebase
-
Clone your fork
-
Create a branch
git branch git checkout
-
Make your changes
-
Push to your branch
git push origin
-
Make a pull request between your branch and the progether master
You can download the game with:
git clone https://github.com/hawk554/JAdventure
###Run with Ant###
Install apache-ant
Run the game with:
ant -emacs run
It will automatically compile, test, and run the game.
To start a new game:
start
To save a game:
s
Get a list of commands with:
h
To get a list of monsters around you:
m
To get your own current status/stats:
st
To quit the game:
exit
To move:
gn - go north gs - go south ge - go east gw - go west
To pick up an item:
p
To drop an item:
d
To equip/dequip item:
e de
To help make code more readable, understandable, and consistent, each contributor should follow the set guidelines lain out below. If you disagree with something or come across a style that has not been decided upon, make an issue or a pull request respectively for discussion on the best style. The standard will be decided based on either majority rule or official documentation (i.e. oracle coding standard).
- Spaces not tabs
- Space width is 4
- No beginning/trailing empty lines
- Each file should start with an import statement if necessary single-spaced
- After class declaration and between class methods, there should be a space.
- Within methods, there should be no spaces unless to separate specific chuncks of code (i.e not for if statements, return values, or loops)
- Opening curly braces appear a space after the closing parentheses, not directly after.
- Closing curly braces appear on own line unless followed by an else etc. which will be a space after the curly brace.
- Comments should have one space after "//"
- Comments 4 or greater in length should be multi-line commented