Demo and testing interface for the GitHub game integration service
Fetch HTML games from the kody-w/localFirstTools repository
Demo of the embedded Tetris game included with the service
Test the JSON import/export functionality
Fetch games from GitHub:
const games = await GitHubService.fetchGames();
console.log(`Loaded ${games.length} games`);
Get built-in Tetris:
const tetris = LocalGameService.getBuiltInTetris(); console.log(tetris.name); // "Tetris Classic"
Export all games:
const allGames = [...githubGames, ...localGames]; LocalGameService.exportAllGames(allGames);