Skip to content

A retro full-stack clone of the original Tamagotchi game from the 80's. Create an account, add some pets & keep them alive as long as you can.

Notifications You must be signed in to change notification settings

megan-pg/tamagotchi

Repository files navigation

Digital Dude

GitHub repo size

Table of Contents:

Description

A retro full-stack clone of the original Tamagotchi game from the 80's. Create an account, add some pets & keep them alive as long as you can.

Installation & Getting Started Remotely

Installation & Getting Started Locally

  1. Clone from the Repo:
git clone https://github.com/megan-pg/tamagotchi.git
  1. Install dependencies:
npm install
  1. Create .env file at root directory, change values as needed (for use with MySQL database):
DB_PASSWORD='password'
DB_HOST='localhost'
DB_USER='root'
DB_NAME='tamagotchi_db'
DB_PORT='3306'
ACCESS_TOKEN_SECRET={{a really long 64 bit string}}
REFRESH_TOKEN_SECRET={{an equally really long but distinct 64 bit string}}
  1. Create & run MySQL Database:
  1. Run application:
node server.js
  1. Open localhost
  2. Play

Technologies Used

Project is created with:

  • HTML5
  • CSS3
  • Materialize
  • Pixelart.com
  • Texture Packer (to create sprite sheets)
  • Javascript
  • MySql
  • Heroku
  • Node.js
    • bcryptjs
    • dotenv
    • express
    • jsonwebtoken
    • mysql2
    • sequelize
    • uuid

Usage

Create Your Pet

  • Give it a name
  • Choose the species:
    • Turtle
    • Fish
    • Bird
    • Mammal
  • Choose level of difficulty:
    • Easy - Starts off with meters near empty
    • Medium - Starts off with meters half full
    • Hard - Starts off with meters almost full

Take Care of Your Pets

Be sure to take note of how your pet is behaving before giving interacting with it. Even usually helpful interactions can be harmful or neglectful if other attributes are more in need of your attention.

  • Feed - Keep your pet well fed, otherwise they'll get hungry ortired.
  • Clean - Keep your pet's surroundings clean, otherwise they'll get dirty or sick.
  • Play - Keep your pet entertained, otherwise they'll get bored.
  • Sleep - Give your pet some rest.
  • Medicine - Give your pet some medicine.
  • Love - Give you pet some love.

Check on Your Pets' Status

  • Open the menu to check on status of your pet:
    • Hunger / Fatigue
    • Bathroom / Cleanliness
    • Boredom / Love
    • Overall Health
    • Length of Unhealthiness

Play Some Music

  • Play/Pause
  • Volume Up
  • Volume Down

Lay to Rest

  • Bury - If your pet has grown ill and passed away, you may bury them from the pets list.

Contributors

Special Thanks/Credits

  • Game Music: "Chubby Cat", from PlayOnLoop.com Licensed under Creative Commons by Attriution 4.0
  • Additional sound effects from Zap Splat
  • Cool bouncy animation found on codepen @champa720

Depolyed

About

A retro full-stack clone of the original Tamagotchi game from the 80's. Create an account, add some pets & keep them alive as long as you can.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published