Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mini-mastermind demo. #341

Merged
merged 1 commit into from
Oct 22, 2024
Merged

Add mini-mastermind demo. #341

merged 1 commit into from
Oct 22, 2024

Conversation

porcuquine
Copy link
Contributor

@porcuquine porcuquine commented Oct 22, 2024

This PR adds a minimalistic adaptation of the mastermind demo, for simpler comparison with Veridise's zk Language Comparison.

It adds a score-one-turn function, since the examples in the comparison above only score a single turn.

The only substantive difference is that code-valid? considers 0 a valid code, so we can use the same test cases as the Circom baseline implementation.

@porcuquine porcuquine requested a review from Nramsrud October 22, 2024 04:40
@porcuquine porcuquine force-pushed the mini-mastermind branch 4 times, most recently from 2241d60 to dbfd105 Compare October 22, 2024 05:05
@porcuquine porcuquine merged commit 65d33a0 into main Oct 22, 2024
3 checks passed
@porcuquine porcuquine deleted the mini-mastermind branch October 22, 2024 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants