- Description
- Getting Started Remotely
- Getting Started Locally
- Technologies Used
- Usage
- Contributors
- Special Thanks
- Deployed
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.
- Clone from the Repo:
git clone https://github.com/megan-pg/tamagotchi.git
- Install dependencies:
npm install
- 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}}
- Create & run MySQL Database:
- Install:
- Run MySQL, from System Prefrences.
- Open MySQL Workbench, not required but helps to see what's going on in the DB
- Run application:
node server.js
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
- 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
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.
- Open the menu to check on status of your pet:
- Hunger / Fatigue
- Bathroom / Cleanliness
- Boredom / Love
- Overall Health
- Length of Unhealthiness
- Play/Pause
- Volume Up
- Volume Down
- Bury - If your pet has grown ill and passed away, you may bury them from the pets list.
- 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