Skip to content

PowerUp is an educational choose-your-own-adventure game that utilizes a users uploaded curriculum to empower pre-adolescents to take charge of their reproductive health. This is the Android version of the game.

License

Notifications You must be signed in to change notification settings

Mehulipal/powerup-android

 
 

Repository files navigation

Travis

PowerUp - Android

PowerUp is a female empowerment educational mobile game app that will allow young girls to learn about reproductive health and self-esteem by navigating the life of their avatar!

Setup for Developers

  1. Make sure you have downloaded the latest version of Android Studio. It works on Linux, Windows and Mac. Download the correct version for your OS.
  2. Go to the project repo and fork it by clicking "Fork"
  3. If you are working on Windows, download Git Bash for Windows to get a full Unix bash with Git functionality
  4. Clone the repo to your desktop git clone https://github.com/YOUR_USERNAME/powerup-android.git
  5. Open the project with Android Studio
  6. Fetch the latest version of code from branch "develop".
  7. Build a 'Powerup' application which is inside the base directory.

Configure remotes

When a repository is cloned, it has a default remote called origin that points to your fork on GitHub, not the original repository it was forked from. To keep track of the original repository, you should add another remote named upstream:

  1. Set the upstream:

    git remote add upstream https://github.com/systers/powerup-android.git

  2. Run git remote -v to check the status, you should see something like the following:

origin https://github.com/YOUR_USERNAME/powerup-android.git (fetch)

origin https://github.com/YOUR_USERNAME/powerup-android.git (push)

upstream https://github.com/systers/powerup-android.git (fetch)

upstream https://github.com/systers/powerup-android.git (push)

  1. To update your local copy with remote changes, run the following:

    git fetch upstream

    git rebase upstream/develop

    This will give you an exact copy of the current remote, make sure you don't have any local changes.

Contributing and developing a feature

  1. Make sure you are in the develop branch git checkout develop
  2. Create a new branch with a meaningful name git checkout -b branch_name
  3. Develop your feature on Android Studio and run it using the emulator or connecting your own Android device
  4. Clean your project from Android Studio Build/Clean project
  5. Add the files you changed git add file_name (avoid using git add .)
  6. Commit your changes git commit -m "Message briefly explaining the feature"
  7. Keep one commit per feature. If you forgot to add changes, you can edit the previous commit git commit --amend
  8. Push to your repo git push origin branch-name
  9. Go into the Github repo and create a pull request explaining your changes
  10. If you are requested to make changes, edit your commit using git commit --amend, push again and the pull request will edit automatically
  11. You will need to add a message on the pull request notifying your changes to your reviewer

Contributing Guidelines

Click here to find the contributing guidelines for the project and follow them before sending a contribution.

Documentation of PowerUp (Android)

Here's the link to the official documentation: Visit Documentation!

Coding Guidelines

  1. Don't use magic numbers or hard-coded strings. Put them in dimens.xml or strings.xml
  2. Class names should be in CamelCase. Name activities with names including Activity so it's easier to know what they are.
  3. Include spaces between parameters when you call a method for example: Intent(MainActivity.this, GameActivity.class).
  4. Give relevant names to buttons and other resources.
  5. Use @id instead of @+id when referring to resources that have been already created in xml files.

About

PowerUp is an educational choose-your-own-adventure game that utilizes a users uploaded curriculum to empower pre-adolescents to take charge of their reproductive health. This is the Android version of the game.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.7%
  • Shell 0.3%