SURVIVE LAST CHRISTMASBack to the game

HOW IT'S MADE

Every card on this site draws itself. This page is for the curious: developers, collectors, and anyone who wants to know what happens under the hood.

SEED
Random, from when you joined. Sets your patterns.
CURRENT TIME
Passed in by a hook whenever the card is read.
DAY YOU HEARD IT
Set once. Empty while you are still in.
THE CARD PROGRAM
About 11 KB of JavaScript, stored onchain. No servers, no image files.
Your card, drawn fresh every time
1

A SMALL PROGRAM, STORED ONCHAIN

Every card is a token on ABX, Art Blocks' protocol for onchain art. The art isn't an image file. It's a small program stored onchain, so the card draws itself from scratch every time someone looks at it.

2

THREE VALUES GO IN

The program reads three things: a random seed from when you joined, the current time, and the day you heard it. The seed decides your patterns and spacing, so no two cards look the same.

3

THE DAY COUNT UPDATES ITSELF

Nobody updates anything at midnight. A hook passes in the current time whenever the card is read, and the program works out the day in Central time.

4

SET ONCE, THEN LOCKED

The day you heard it can be set once and can't be changed. After December 24, the whole season locks for good.