TL;DR: This awesome hacker has built the Tamagotchi Matrix! Read on for details or see the result at http://tamahive.spritesserver.nl/
There is a rule of sorts on the Internet, saying that most XKCD comics that can be implemented in real life, will be implemented in real life. There are a fair few examples of that already. I decided that now was my chance to be the one to do it.
Source: Sprites mods – Creating the Tamagotchi Singularity – Building the Tamagotchi Singularity