import { readdirSync } from 'node:fs'; import { GAME_DIR } from './paths'; import type { Difficulty } from './menu'; /** * The saved games, read off disk rather than out of the game. * * Minesweeper X names a recording ` -