Certiman / solid-squared-games

Testing {zod} and {solidjs} as a reactive game solving combination

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Intention

This is an experimental implementation to solve easy 2d puzzles by using ZOD's type parsing and SolidJS's reactivity in the front-end. The idea is that a solution to the puzzles can be generated by having the individual cells and the total gamefield apply rule-checking functions which trigger state changes throughout the gamefield. Cells are therefore eliminating impossible (throwing ZodErrors) states and through solidJS' reactivity mechanisms, this propagates through the gamefield.

Status

  • A preliminary validation and type collection for the cells and gamefield
  • Working out the rule functions for cells and gamefield
  • Propagation through the gamefield through solidJS components for cells and gamefield.

Learn more on the Solid Website and come chat with us on our Discord

About

Testing {zod} and {solidjs} as a reactive game solving combination


Languages

Language:TypeScript 94.6%Language:HTML 5.4%