Skip to content

Add quiz contract example#72

Open
alexgduarte wants to merge 1 commit into
athena-consulting:mainfrom
alexgduarte:codex/quiz-example
Open

Add quiz contract example#72
alexgduarte wants to merge 1 commit into
athena-consulting:mainfrom
alexgduarte:codex/quiz-example

Conversation

@alexgduarte

Copy link
Copy Markdown

Contributes to #11

Summary

  • Add a new quiz simple contract example.
  • Let the owner create multiple-choice quizzes with validated title, question, and options.
  • Support optional closing height, manual close, one answer per player per quiz, correctness recording, player stats, and paginated quiz listing.
  • Include README documentation, root README navigation, schema generation, and eight focused unit tests.

Validation

  • cargo fmt --manifest-path quiz/Cargo.toml -- --check
  • cargo test --manifest-path quiz/Cargo.toml --target-dir /private/tmp/codex-quiz-target
  • git diff --check

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.

1 participant