Skip to content
Andrew Tamburino edited this page Oct 11, 2024 · 8 revisions

Welcome to the pixel-pet wiki!

Project Notes

Libraries Allowed:

  • Animation libraries
  • Font Awesome

Theme

  • Dragon theme
    • Dragon lives in a lair or cave
    • Dragon is green
    • Visual changes based on health status
    • Jess mentioned rarity (interesting idea)

Game Mechanics

  • Stats:

    • Hungry
    • Cleanliness
    • Happiness
    • Playtime
  • Health Bar:

    • Segmented bar:
      • Right 2 segments: Green
      • Middle 2 segments: Yellow
      • Left 1 segment: Red
    • Each block represents 2 health points
    • Total health = 10 points
  • Stretch Goals:

    • Dragon aging mechanic
    • Health bar blinks in the last 10 seconds of a level

Repo Setup

  • Invite Jess as a collaborator ✅
  • Invite Preston as a collaborator

File Structure

/pixel-pet-game/
├── index.html                # Main HTML page for the game
├── css/                      # Folder for CSS styles
│   └── styles.css            # Main CSS file for styling
├── js/                       # Folder for JavaScript files
│   ├── event-listeners.js    # JavaScript for handling events
│   └── script.js             # Base JS Script
├── components/               # Folder for reusable components
│   ├── header.html            # Header component
│   ├── footer.html            # Footer component
│   └──
├── assets/                   # Folder for game assets
│   ├── images/                # Folder for images
│   │   └── dragon.png         # Image of the dragon
│   └──
│    
├── README.md                 # Project overview and setup instructions
└── LICENSE                   # License information for the project
Clone this wiki locally