Skip to content

OlgaSwan/petty

Repository files navigation

Logo Petty

💥 Introduction

Welcome to Petty - your pixelated Tamagotchi game.

Choose your pet's skin, name it, and plunge into a world of care. Your role? Keep your friend hydrated, well-fed, and super loved. But remember, caring also involves spending your coins wisely!

🚀 Features

  • Performance: Incredible performance achieved by using server side rendering, dynamic imports, next/Image, and animation optimizations
  • Customization: Choose your pet's skin and give it a unique name.
  • Gameplay: Interact by petting, feeding, and hydrating your companion.
  • Notifications: Receive notifications for hunger, happiness, affection, and bathroom needs.
  • Animations: Enjoy adorable animations.
  • Pixel Design: Symphony of colors, charming animations, and landscapes.

image

📜 Packages

  • Next.js - provides React-based web application with server-side rendering and static website generation.
  • Typescript - typesafety, enhances code quality, catches errors during development, and improves overall maintainability.
  • Nanostores - tiny state manager for your smol pet.
  • Sass - powerful professional grade CSS extension language.
  • GSAP - fancy high-performance animations that work in every major browser.

🛠️ Local development

To ensure that you are able to install everything properly, I would recommend you to have Yarn installed. Then run the commands:

  • yarn to install dependencies
  • yarn run dev to start local dev server

Open http://localhost:3000 with your browser to see the result.