Code Monkey home page Code Monkey logo

petwalk's Introduction

Pet Walk

PetWalk is an iOS app project in order to simulate a virtual pet. The growth of the pet is based in the daily steps of the trainer.

Pet has Levels and stats(Life & Strenght). When the trainer reaches enough amount of daily steps, the pet level and stats will be increased.

Credits:

Sword image: https://darklordgames.itch.io/espada-de-sangue-blood-sword

Heart image: https://key0.cc/es/522655-Coraz%C3%B3n-de-p%C3%ADxel

Swordman frames: https://luizmelo.itch.io/fantasy-warrior

Ninja frames: https://luizmelo.itch.io/martial-hero-2

Wizard frames: https://luizmelo.itch.io/evil-wizard-2

Third-Party:

Sourcery(via Pod)

petwalk's People

Contributors

jotagalera avatar

Watchers

James Cloos avatar  avatar

petwalk's Issues

Define the first Pet model

  • Name
  • Images
  • Progress of the pet:
    - Exp to get a new level (i.e: lvl: 1, 1000 steps are required to level up to 2 | lvl: 2, 2000 steps are required to level up to 3 ...)
    - How are strength points going to increase depending on the pet level
    - How are life points going to increase depending on the pet level

First pet screen

Compose the first screen:

  • Status bar: Strength and Health
  • Pet image
  • Pet name

Save accumulate daily steps (2/2)

Avoid duplicate steps.

How to do it:

Given the app only take into account daily steps to accumulate it.
The app is opened the first time then it saves the current daily steps and the date. When it is opened the second time do:
if today == date then
dailyStepsReceived - previousStepsReceived = lastSteps
animateAccumulateSteps

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.