Skip to content

ryanleslie33/Tomagotchi

Repository files navigation

Tamagotchi

image

School course in creating a web app in React, with NPM.

By Robert Lee and Ryan Leslie

Description

This is a React application that is a Tamagotchi clone, use for practice with set time intervals and lifting state.

Setup/Installation Requirements

  • Clone the applications from github by going to the terminal window command line and typing:

$ git clone https://github.com/bobbydwise1/Tomagotchi.git

  • After all the files have been copied, navigate to the project working directory. Type the following:

$ npm install

  • Node Package Manager (npm) should automatically start downloading all required dependencies. After all files have been downloaded, type the following:

$npm run start

  • The terminal window will run the server.

  • You must now go to your web browser to localhost:8080

  • To stop the application, return to the terminal window and enter the command CTRL+C. If prompted for (Y/N), pick "Y". Then close the user interface tab in your web browser.

Working Features

  • A simple practice website for using React static components and CSS.
  • Uses buttons to update state values

specifications

  • begins with a home page with a link to play game.
  • Once user clicks the link a score board will display with sleep, food, and boredom levels set at 10.
  • Once user clicks the link set time interval will start on initiation
  • Once set time interval starts state values food, sleep, boredom will decrease by one every second
  • User must click buttons to increase state values to keep them above zero
  • If a users state values drop below 0 your Tamagotchi will die and image will display

Component Tree

image

Known Bugs

  • To be determined...

Support and contact details

Technologies Used

  • Javascript, HTML, CSS, Atom, NPM, React.

License

This application is Licensed under the MIT software License agreement. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Copyright (c) 2019 Robert Lee, Epicodus

About

React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages