/corematch

Corematch ― Unstoppable memory game where players must spot a matching pattern to earn points.

Primary LanguageRustApache License 2.0Apache-2.0

corematch

Corematch ― Unstopabble memory game where players match the latest Polkadot core usage in a 3x3 matrix board. Corematch is written in Rust and compiled to WASM to run entirely in the browser (Subxt + Yew)

✨ Included Features

  • [✓] Support Polkadot and Kusama network;
  • [✓] Mobile first support;
  • [✓] Play with keyboard, mouse or touch;
  • [✓] Two challenging game levels;
  • [✓] Optional help which highlights matches;

🚧 Work In Progress

  • [] Mint points as NFT on AssetHub;
  • [] Light clients support;
  • [] Signing via PJS extension and other wallets;

Development / Build from Source

If you'd like to build from source, first install Rust.

#!/bin/bash
curl https://sh.rustup.rs -sSf | sh

If Rust is already installed run

#!/bin/bash
rustup update

Verify Rust installation by running

#!/bin/bash
rustc --version

Once done, finish installing the support software

#!/bin/bash
sudo apt install build-essential git clang libclang-dev pkg-config libssl-dev

Add WebAssembly target to your development environment

#!/bin/bash
rustup target add wasm32-unknown-unknown

Install Trunk

#!/bin/bash
cargo install --locked trunk

Build corematch by cloning this repository

#!/bin/bash
git clone http://github.com/turboflakes/corematch

Finally Use trunk to build and serve the app

#!/bin/bash
trunk serve

Collaboration

Have an idea for a new feature, a fix or you found a bug, please open an issue or submit a pull request.

Any feedback is welcome.

About

Corematch - was made by Turboflakes. Visit us at turboflakes.io to know more about our work.

If you like this project

  • 🚀 Share our work
  • ✌️ Visit us at turboflakes.io
  • ✨ Or you could also star the Github project :)

Tips are welcome

  • Polkadot 14Sqrs7dk6gmSiuPK7VWGbPmGr4EfESzZBcpT6U15W4ajJRf (turboflakes.io)
  • Kusama H1tAQMm3eizGcmpAhL9aA9gR844kZpQfkU7pkmMiLx9jSzE (turboflakes.io)

License

Corematch - The entire code within this repository is licensed under the Apache License 2.0.