whatisgithub

What is mazocarta?

timcogan/mazocarta — explained in plain English

Analysis updated 2026-05-18

1RustAudience · developerComplexity · 3/5LicenseSetup · moderate

In one sentence

A browser based roguelike deck building card game written in Rust and compiled to WebAssembly, with offline support and local multiplayer.

Mindmap

mindmap
  root((mazocarta))
    What it does
      Roguelike card game
      Runs in browser
      Offline PWA
    Tech stack
      Rust
      WebAssembly
      PWA
    Use cases
      Local multiplayer
      Android wrapper
      Balance simulation
    Audience
      Developers
      Game players

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Build and run the Mazocarta browser card game locally to play or test it

USE CASE 2

Package the web game into a native Android app using the CLI wrapper

USE CASE 3

Pair two devices over local network to test host and guest multiplayer runs

USE CASE 4

Simulate thousands of runs to check game balance and difficulty

What is it built with?

RustWebAssemblyPWA

How does it compare?

timcogan/mazocartaabc3dz/mixxxabyo-software/ferro-stash
Stars111
LanguageRustRustRust
Setup difficultymoderatemoderatemoderate
Complexity3/52/54/5
Audiencedevelopergeneralops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires the Rust WASM target and make, Android build needs Java 17+ and SDK command line tools.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

Mazocarta is a roguelike deck building card game that runs in the browser, built in Rust and compiled to WebAssembly. Each run takes the player through three sectors with a branching map, where you choose your path through combat fights, elite fights, a boss, rest stops, shops, and story events. Combat is deterministic, meaning enemy behavior is calculated in a fixed way rather than randomly, and enemy intents, status effects, equipment style modules, and consumable items are all shown to the player before they act. The game works as an installable web app with offline support after the first time it loads online, and it supports mouse, keyboard, and touch input. The interface is available in English and Spanish. There is also a command line only Android wrapper that packages the web version into a native app using WebView, so a phone can run it without needing the full Android Studio interface, as long as Java, adb, and the Android SDK command line tools are installed. A notable feature is local multiplayer over a shared network. Two players on the same network can pair by entering a code, with one device acting as host and the other as guest, then play a synced run where both players see the same map, though only the host chooses which node to visit next. Automated tests exist to check for stalls or freezes across repeated multiplayer sessions. For balance testing, the project includes a simulation tool that can run many automated matches and print statistics about how difficult the game is, for both single player and two player modes. The source code is organized into separate files for combat rules, application state, game content like cards and enemies, and map generation. The project is licensed under MIT.

Copy-paste prompts

Prompt 1
Help me set up the Rust and WASM toolchain to build Mazocarta locally
Prompt 2
Show me how to test two player LAN multiplayer pairing in Mazocarta
Prompt 3
Explain how to package Mazocarta into an Android APK using the CLI wrapper
Prompt 4
Walk me through running the balance simulation actor for Mazocarta with 1000 runs

Frequently asked questions

What is mazocarta?

A browser based roguelike deck building card game written in Rust and compiled to WebAssembly, with offline support and local multiplayer.

What language is mazocarta written in?

Mainly Rust. The stack also includes Rust, WebAssembly, PWA.

What license does mazocarta use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is mazocarta to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is mazocarta for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.