Giter VIP home page Giter VIP logo

tamagotchi's Introduction

Tamagotchi

In this game, you need to feed tamagotchi regularly or it will die, 10.15.2017

By Margaret Berry and Riki Montgomery

Description

This application mimics the tamagotchis or 'virtual pets' of the 1990s.

User Stories

  • A user should be able to wake up the tamagotchi from its million light year sleep and play.

  • A user should be able to feed the tamagotchi a meal.

  • A user should be able to feed the tamagotchi a snack.

  • A user should be able to see its health meter.

  • A user should be able to see the tamagotchi's happiness meter.

  • A user should be able to play with their tamagotchi to increase its happiness.

  • A user should be able to put their tamagotchi to sleep, restoring happiness.

Further Exploration

  • A user should be able to overfeed it until it refuses to eat.
  • The tamagotchi should poop at a random intervals.
  • The tamagotchi should get sick at random intervals.
  • A user should be able to give it medicine to restore its health.

Specifications

Spec Input Output
Tamagotchi will start with a health and happiness meter of 100 Click 'Create' Health Meter: 100, Happiness Meter: 100
Every second, health will decrease by 1 5 seconds pass Health Meter: 95
Every 5 seconds, happiness will decrease by 1 5 seconds pass Happiness Meter: 99
If you feed the tamagotchi a meal, its health will increase by 25 Click 'Meal' Health Meter: 125
If you feed the tamagotchi a snack, its health will increase by 10 Click 'Snack' Health Meter: 110
If you play with the tamagotchi, its happiness will increase by 1 and its health will decrease by 1 Click 'Play' Health Meter: 99, Happiness Meter: 101
If health reaches 0, the tamagotchi will die and you can no longer feed it Click 'Meal' Health Meter: 0

Setup/Installation Requirements

Run the following commands in Terminal:

  1. $ git clone this repository
  2. $ cd tamagotchi
  3. $ npm install
  4. $ bower install
  5. $ gulp build
  6. $ gulp serve

Known Bugs

  • Sleep gif does not disappear when feeding or playing with the tamagotchi.

Support and contact details

If you have issues, questions, ideas, or concerns, please contact Margaret. Feel free to make a contribution to the code.

Technologies Used

  • JavaScript
  • Node
  • Bower
  • Jasmine
  • Karma

License

This software is licensed under the MIT license.

Copyright (c) 2017 Margaret Berry and Riki Montgomery

tamagotchi's People

Contributors

codemargaret avatar

Watchers

James Cloos avatar  avatar

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.