Pixel Placer is a collaborative digital canvas where multiple users can unleash their creativity together. However, there's a unique twist: pixels are a limited resource where users can only hold five at a time, with one pixel being added to their bank every thirty seconds. For Pixel Placer, we utilized EdgeDB for handling user identity and authentication, as well as for persisting canvas data to determine pixel placement. We implemented EdgeDB constraints on the Pixel type to ensure uniqueness in X and Y coordinates. Additionally, EdgeDB managed the relationship between users and their Pixel Bank, which tracked the number of available pixels and the last time a pixel was awarded to a user.
Built with EdgeDB + Next.js, hosted on EdgeDB Cloud + Vercel
© EdgeDB Inc., 2024