dmpierre / zkconnect4

Prove your connect-4 games against an RL agent using Nova.

Home Page:https://www.zkconnect4.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zkConnect4 - a zkML Nova experiment

App

Play connect4 against an RL agent and prove its outcome using Nova.

This project aims at being a pot-pourri of Nova things: zkML (in the vein of zator), wasm development and webworker setup. The idea is to lay out how to do development with Nova, from ideation to deployment.

An extensive writeup can be found here. We detail how to work with wasm-pack, how to link keras-to-circom with Nova and also how to setup a webworker to run Nova in the background while the app runs on the browser's main thread.

Setup and build

$ git clone git@github.com:dmpierre/zkconnect4.git && cd zkconnect4
$ pnpm i && pnpm dev

About

Prove your connect-4 games against an RL agent using Nova.

https://www.zkconnect4.dev


Languages

Language:TypeScript 42.4%Language:JavaScript 26.7%Language:Circom 17.2%Language:Rust 13.5%Language:Handlebars 0.1%Language:Shell 0.1%Language:CSS 0.0%