Skip to content

Care for a Tamagotchi creature by feeding it, playing with it, and making sure it gets enough sleep.

Notifications You must be signed in to change notification settings

kwicz/tamagotchi

Repository files navigation

Tamagotchi

Care for a Tamagotchi creature by feeding it, playing with it, and making sure it gets enough sleep. | Feb. 2020

By Alex Skreen and K. Wicz

Play Now!

Description

This boilerplate site has one index.html file that is already linked to the included bootstrap.css(4.4), styles.css, jQuery.js(3.4.1), and scripts.js.

There is a pre-built two input form with a submit button. There is also a simple jQuery function that will console.log when the submit button is clicked.

The .gitignore file is a template for mac osx but a link is provided to get a template for any operating system.

create a .gitignore template for your os here

Setup/Installation Requirements

Make sure you have git version control installed on your computer.

  1. find the green 'Clone or Download' button and copy the link
  2. open terminal and type...

Windows

cd desktop

Mac & linux

cd ~/Desktop
  1. in terminal type 'git clone {link to repository} '
git clone Link-Here
  1. navigate to the new folder that was created on your desk
  2. select index.html
  3. right click on the file and select 'open with'
  4. select your browser
  5. enjoy this project

Specs

Behavior Driven Development Spec List

Behavoir Input Output
A user creates a new Tamagotchi Name New Tamagotchi
A user can name their Tamagotchi Name Tamagotchi named 'Name'
The program will set all Tamagotchi stats to 100 Name Sleep: 100, Food: 100, Play: 100
The program will reduce food by 1 point every 10 seconds 1 minute Food: 94
The user can increase their Tamagotchi's Food stat by 20 points by feeding it Feeding after 5 minutes Food: 90
The program will reduce play by 1 point every 20 seconds 1 minute Food: 97
The user can increase their Tamagotchi's Play stat by 20 points by playing with it Playing after 10 minutes Play: 90
The program will reduce sleep by 1 point every 30 seconds 1 minute Food: 98
The user can increase their Tamagotchi's Sleep stat by 100 points by feeding it sleeps for 10 minutes Sleep: 100
The program will warn you once any of your stats go below 30 Sleep: 29 Warning: Your Tomagatichi needs to sleep
The program will give you a strong warning once any of your stats go below 10 Food 9 Warning: If you don't feed your Tomagatchi, it could perish
The program will put your Tomagatchi to sleep if it's Sleep stat hits 0 Sleeps for 10 minutes Sleep: 100
The program will kill your Tomagatchi if it's Food stat hits 0 Food: 0 Your tomagatchi has died
The program will start to increase the rate at which your food and sleep go down by 2x if your Play stat hits 0 Play: 0 Food decreases 1 points ever 5 seconds, Sleep decreases 1 points every 15 seconds

Support

The software is provided as is. It might work as expected - or not. Just don't blame me.

Built With

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Copyright (c) 2020 Alex Skreen and K. Wicz

About

Care for a Tamagotchi creature by feeding it, playing with it, and making sure it gets enough sleep.

https://kwicz.github.io/tamagotchi/

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published