Skip to content

lkbm/sideways_math

Repository files navigation

Sideways Arithmetic

A simple math puzzle built with preeact, TypeScript, Vite, and Cloudflare Workers.

You can see it deployed at https://sidewaysarithmetic.lucamasters.com/

Run locally

  • nvm use
  • nvm install
  • npm run dev

Deploy

You'll need a wrangler.toml file configured for your Cloudflare account:

name = "sideways-arithmetic"
main = "src/main.tsx"
compatibility_date = "2024-01-01"


[[kv_namespaces]]
binding = "SIDEWAYSARITHMETIC"
id = "<your-kv-namespace-id>"

[assets]
directory = "./dist"

[build]
command = "npm run build"

Then run: npx wrangler deploy

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages