Coder Social home page Coder Social logo

t4top / mina-wordle-game Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 2.0 7.09 MB

A wordle game to demonstrate zkApp smart contract and oracle using Mina Protocol SnarkyJS

Home Page: https://t4top.github.io/mina-wordle-game/

License: Apache License 2.0

TypeScript 84.74% JavaScript 1.72% HTML 0.19% Svelte 11.55% Stylus 1.80%
game mina oracle snarkyjs wordle zkapp mina-navigators minanavigators

mina-wordle-game's Introduction

mina-wordle-game

Mina Wordle Game Screenshot

This is a Wordle inspired game for Mina Protocol. It is to demonstrate zkApp smart contract and oracle using o1js. It was created as an entry to the zkIgnite Cohort 0 challenge.

Demo

Find below deployed samples. Please, visit any of the sites.

What is Wordle?

Wordle is a five letter word guessing game. You get six tries to guess the right word and every time you guess a word, you get feedback regarding the letters.

A Green feedback on a letter means the letter is correct and on the correct spot in the word.

A Yellow feedback on a letter means that letter is present in the word but in wrong spot.

A Gray feedback means the letter is not present at all in the word.

How to Play

  • Connect Mina Auro Wallet on Berkeley Testnet.
  • Fund the wallet with free testnet Mina from the faucet.
  • Guess the Wordle of the day using the keyboard.
  • Each guess must be a valid 5-letter word.
  • The color of the tiles will change to show how close your guess was to the word.
  • You have maximum 6 tries to guess the correct word.

Features

Below are some of the major features of this zkApp.

  • Realistic clone of the popular Wordle game
  • zkApp smart contract using o1js and deployed to Berkeley Testnet
  • Koa-powered Oracle server using Mina Signature to sign responses
  • Dark mode
  • UI made with SvelteKit

How to build

This project is divided into 3 parts - ui, contracts and oracle. Clone this repository and follow the steps under each part.

  1. Clone this git repository and change to the project directory
git clone https://github.com/t4top/mina-wordle-game.git
cd mina-wordle-game
  1. Install project dependencies
npm install
  1. Follow the build steps under each part

License

Apache-2.0

mina-wordle-game's People

Contributors

dependabot[bot] avatar t4top avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mina-wordle-game's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.