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 iOS version of the game.
Swift Objective-C
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
FMDB Merge remote-tracking branch 'systers/develop' into develop Jul 18, 2016
Powerup.xcodeproj Merging work from GSoC 18 into develop (#315) Aug 7, 2018
Powerup Merging work from GSoC 18 into develop (#315) Aug 7, 2018
PowerupTests Merging work from GSoC 18 into develop (#315) Aug 7, 2018
PowerupUITests Merging work from GSoC 18 into develop (#315) Aug 7, 2018
Scenarios Merging work from GSoC 18 into develop (#315) Aug 7, 2018
.gitattributes Allow scene to replay after going to map (#205) Feb 15, 2018
.gitignore Updated .gitignore Mar 28, 2017
.travis.yml Update .travis.yml Jan 26, 2018
CONTRIBUTING_GUIDELINES.md Fixed broken links (#220) Mar 1, 2018
ISSUE_TEMPLATE.md Create ISSUE_TEMPLATE.md Dec 5, 2017
LICENSE Create LICENSE May 22, 2017
ModelManager.swift Conflicts resolved Jul 23, 2016
PULL_REQUEST_TEMPLATE.md Create pull_request_template.md Dec 13, 2017
PowerUp Handout.pdf Code Clean Up and Minor changes Aug 25, 2016
PowerUp.pdf Code Clean Up and Minor changes Aug 25, 2016
Powerup-Bridging-Header.h Merge remote-tracking branch 'systers/develop' into develop Jul 18, 2016
README.md updating README.md file with proper git commands (#248) Apr 13, 2018
SKTutorialScene.swift Added tutorial scenes for mini games. Jul 31, 2017
ShuffleArrayExtension.swift Added MinesweeperGameScene, roughly implemented the structures of the… Jun 15, 2017
code_of_conduct.md Create code_of_conduct.md Nov 8, 2017
libsqlite3.dylib Commit 1 Jul 2, 2015
reporting_guidelines.md Create reporting_guidelines.md Nov 8, 2017

README.md

Travis

PowerUp - iOS Build Status

PowerUp is an educational mobile game app that seeks to empower young girls to take charge of their reproductive health and self-esteem by navigating the life of their Avatar.

Setup for Developers

  1. Make sure you have Xcode IDE downloaded on your machine for software development for iOS.
  2. Fork the systers project. Go to Powerup-iOS and click on Fork in the top right corner. Fork the repo on your Github id. Make sure that you don’t have any existing repo with the same name in your profile else there will be conflicts.
  3. Make sure you have installed Github Desktop(for Mac).
  4. Open Github Desktop, click on Clone Repository in File Menu. Clone the forked repo to get a local copy on your system.
  5. Fetch the latest version of code from the appropriate branch (usually "develop").

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. Get the path where you have your git repository on your machine. Go to that path in Terminal using cd. Alternatively, Right click on project in Github Desktop and hit ‘Open in Terminal’.
  2. Run git remote -v to check the status you should see something like the following:

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

  1. Set the upstream:
    git remote add upstream https://github.com/systers/powerup-iOS.git
  2. Run git remote -v again to check the status, you should see something like the following:

origin https://github.com/YOUR_USERNAME/powerup-iOS.git (fetch)
origin https://github.com/YOUR_USERNAME/powerup-iOS.git (push)
upstream https://github.com/systers/powerup-iOS.git (fetch)
upstream https://github.com/systers/powerup-iOS.git (push)

  1. To update your local copy with remote changes, run the following:
    git fetch upstream develop
    git rebase upstream/develop
    This will give you an exact copy of the current remote, make sure you don't have any local changes.
  2. Project set-up is complete. For more details and additional git commands, click here.

Contributing and developing a feature

  1. Make sure you are in the develop branch git checkout develop.
  2. Sync your copy git pull --rebase upstream develop.
  3. Create a new branch with a meaningful name git checkout -b branch_name.
  4. Develop your feature on Xcode IDE and run it using the simulator or connecting your own iphone.
  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. If you have more than one commit try squashing them into single commit by following command:
    git rebase -i origin/master~n master(having n number of commits).
  12. Once you've run a git rebase -i command, text editor will open with a file that lists all the commits in current branch, and in front of each commit is the word "pick". For every line except the first, replace the word "pick" with the word "squash".
  13. Save and close the file, and a moment later a new file should pop up in editor, combining all the commit messages of all the commits. Reword this commit message into meaningful one briefly explaining all the features, and then save and close that file as well. This commit message will be the commit message for the one, big commit that you are squashing all of your larger commits into. Once you've saved and closed that file, your commits of current branch have been squashed together.
  14. Force push to update your pull request with command git push origin branchname --force.

Contributing Guidelines

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

Documentation of PowerUp-iOS

Links to the Documentation:

2017
2016
2015