Refactor index page

Display all interactives and redesign using cards.
This commit is contained in:
gpt-engineer-app[bot] 2025-07-21 07:58:37 +00:00
parent 030c188ab3
commit a649d2fc41
5 changed files with 174 additions and 0 deletions

View file

@ -28,6 +28,24 @@ const allInteractives: Interactive[] = [
theme: 'Discrete Math',
dateAdded: '2024-01-15'
},
{
id: 'ternary-number-game',
title: 'Ternary Number Representation',
description: 'Learn how numbers are represented in ternary (base-3) format by toggling between 0, 1, or 2 copies of powers of three.',
tags: ['ternary', 'numbers', 'conversion', 'representation', 'base-3'],
path: '/ternary-number-game',
theme: 'Discrete Math',
dateAdded: '2024-01-16'
},
{
id: 'balanced-ternary-game',
title: 'Balanced Ternary Number Representation',
description: 'Explore balanced ternary using digits T (-1), 0, and 1. Add or subtract powers of three to match the target number.',
tags: ['balanced-ternary', 'numbers', 'conversion', 'representation', 'base-3', 'signed-digits'],
path: '/balanced-ternary-game',
theme: 'Discrete Math',
dateAdded: '2024-01-17'
},
{
id: 'binary-search-trick',
title: 'Binary Search Magic Trick',
@ -54,6 +72,15 @@ const allInteractives: Interactive[] = [
path: '/ternary-search-trick',
theme: 'Data Structures',
dateAdded: '2024-07-20'
},
{
id: 'northcotts-game',
title: "Northcott's Game",
description: 'A strategic board game where players move their pieces to outmaneuver their opponent in a tactical race.',
tags: ['strategy', 'board-game', 'two-player', 'logic', 'game-theory'],
path: '/northcotts-game',
theme: 'Games',
dateAdded: '2024-03-15'
}
];