Code Monkey home page Code Monkey logo

mahjong_icp's Introduction

Project Description

This project was created for the Internet Computer RUSH Bootcamp. The primary emphasis of this project lies in achieving effective integration. The frontend of the Mahjong game is implemented in Dart/Flutter, while the backend is developed in Rust.

Why Mahjong?

The motivation behind choosing Mahjong was the lack of its implementation in the ICP ecosystem. A pretty mature, MIT licensed implementation in Dart/Flutter was found and utilized.

Why Flutter?

Flutter allows for the development of native applications for Android, iOS, Web, Linux, MacOS, and Windows from a single codebase, which is nice.

Discoveries While Hacking

  • agent_dart: This was used in the project, but it didn't work for the web due to a bug in dart2js. A tweak was made in the agent_dart fork to address this. Dart has recently released a wasm target, but it had the same bug as dart2js. However, it looks promising.
  • Internet Identity: An attempt was made to use Internet Identity, but it seems like it's not fully implemented in agent_dart as it didn't work as expected.

Live Demo

You can check out the live demo of the project here.

For Android users, an APK file is available for download. Please note that this file is hosted on an external server, and as such, you should only download and install it if you trust the source.

Download APK

To build

git clone [email protected]:macius702/mahjong_icp.git
cd mahjong_icp
git submodule update --init --recursive
scripts/build.sh
scripts/build.sh mainnet

mahjong_icp's People

Contributors

maciej-tomasz-krzeminski avatar

Watchers

 avatar

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.