element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi Projects
  • Products
  • Raspberry Pi
  • Raspberry Pi Projects
  • More
  • Cancel
Raspberry Pi Projects
Blog I made a Tamagotchi with a Job, Debt and a Dr*g Problem
  • Blog
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Raspberry Pi Projects requires membership for participation - click to join
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Tgrov
  • Date Created: 10 May 2025 3:00 PM Date Created
  • Views 323 views
  • Likes 2 likes
  • Comments 6 comments
  • matrix
  • game
  • raspberry pi
Related
Recommended

I made a Tamagotchi with a Job, Debt and a Dr*g Problem

Tgrov
Tgrov
10 May 2025

This project is a cursed reinterpretation of a Tamagotchi, but instead of caring for a cute little creature, you're managing the brutally cynical arc of human life going through all the levels of the Maslow's pyramid. Think of it as a social commentary wrapped in a pixelated fever dream: you’re born, you pick an education, you get in debt, you work yourself to exhaustion, you try not to starve, and, if you're lucky, you might ascend. More often, you just die in increasingly absurd and tragicomic ways.

The idea came from wanting to build a high-effort parody of life simulator games, combining game design, electronics, pixel art, and humor. It’s meant to be both funny and uncomfortable. One moment you’re playing a rhythm-based hobby minigame, the next you’re asked if you want to “try crack?” through a random event system.

How it works:

  • It runs on a Raspberry Pi connected to a physical RGB LED matrix.
  • Logic is exclusively code based.
  • Controls are real buttons wired via GPIO.
  • Graphics are rendered in real time with pixel-perfect sprite animations, stat decay, and timed life progression.
  • There’s a series of unlockable minigames and screens: education, job, housing, socializing, hobby, rest, food.
  • Audio cues and microtonal buzzer melodies add a creepy lo-fi soundtrack to match the visuals.
  • Stats like hunger, rest, esteem, and safety are constantly decaying and influence which choices you can make.
  • Your choices lead to death animations depending on what stat hits zero (e.g., get shot if safety drops too low), or a final win state if you somehow reach self-actualization.

The game originally ran on pygame so I could  develop it within a simulation on my computer before porting it to rpi-rgb-led-matrix. On the GitHub you can fin all the code of both versions. The code is relatively heavy since the entire game relies on stats management. The stats need to be known throughout the entire game architecture meaning a large amount of state management.

A couple hurdles that I encountered:

  • The pins were all used by the RGB LED Matrix hat. Thus, the buttons kept frying over and over again. After adding physical debounce on the buttons and a lot of trial and error, i found the pins that worked properly!
  • The battery only had a singular output but the LED matrix hat needed external powering. I had to hijack 2 pins on the battery board to power the hat through usb-c

This was by far the most nerve-wrecking project I've ver worked on. It’s both a game and a satire, and it’s been designed to physically exist and be played like a twisted arcade cabinet from another timeline.

The YouTube video for it is available here, it would help a lot if you gave it a watch:
YouTube Video

image

  • Sign in to reply

Top Comments

  • DAB
    DAB 9 days ago +1
    Interesting video, but you do not need all of the expletives to get your point across.
  • DAB
    DAB 9 days ago

    Interesting video, but you do not need all of the expletives to get your point across.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz 9 days ago in reply to Tgrov

    And with that juvenile response you've displayed, you're not a person of interest for my future YouTube viewing.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Tgrov
    Tgrov 9 days ago in reply to shabaz

    ***, I'm sorry.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Tgrov
    Tgrov 9 days ago in reply to dougw

    Hey Doug! Thanks for the comment. It's true that the game is not very self-explanatory. Good point!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz 9 days ago

    I stopped watching after hearing swearing several times. At least mute those parts out if you cannot control yourself for the short period of filming!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube