A game comparison page changes in small, frequent ways: a game adds an unlimited mode, another starts charging, a third disappears. You do not need a backend for that. You do need data that makes updates cheap and honest. Here is a shape I would suggest, based on what a comparison page such as Games Like Krillion shows its readers.
One record per game
type Fact<T> = T | "not stated";
interface GameEntry {
name: string;
playUrl: string; // direct link to the game
sharedMechanic: string; // why it plays like the original
free: Fact<boolean>;
unlimitedMode: Fact<boolean>;
checkedOn: string; // ISO date
}
The "not stated" value matters. A missing field and false mean different things, and collapsing them turns "we could not tell" into "no".
Group by how it plays
Readers choose by feel more than by alphabet, so keep groups as their own list that refers to entries. Moving a game between groups then never touches its facts.
Validate at build time
A static build is a good place to refuse bad data:
- every entry has a play link and a check date;
- no two entries share a URL;
- entries older than your freshness window are listed for rechecking.
Keep checking separate from publishing
A script can tell you a link returns an error. It cannot tell you the game still plays the same way. Use automation to build the recheck queue and a person to answer it, then update the date only when someone has really looked.
Show the date
Print the check date on the page. It is the cheapest trust signal a static site has.
The examples above are a suggested design, not a dump of any site's source. For the finished reading experience, see PuzzVerse, a small hand-checked guide to daily browser games.
Written on behalf of PuzzVerse.
Top comments (0)