# magefree/mage

XMage - Magic Another Game Engine

Repository: https://github.com/magefree/mage
Canonical: https://ross.abutalabs.com/products/magefree-mage
Homepage: https://xmage.today
Language: Java
License: MIT
License Family: permissive
Topics: java, magic, game, mtg, magic-the-gathering, game-engine, ai, xmage, card, macos, linux, windows, deck, multiplayer, computer-opponents, ccg, scryfall, mtgjson, client-server
Last push: 2026-08-26T02:10:49+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 97, longevity 100
- inputs: {"age_days": 5241, "days_push": 8, "days_rel": 21, "gap_med": 15.5, "n_releases_24m": 17}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2342, forks 931 (observed 2026-08-28T04:06:39.162042+00:00)

## What it is
XMage is a free, open-source, full rules-enforcement engine for playing Magic: The Gathering online against other players or AI opponents, supporting over 32,000 unique cards and many formats like Commander and drafts. It ships as a Java client-server application with a deck editor, tournaments, and a Glicko rating system, and can be self-hosted or played offline.

## Use cases
- play magic the gathering online free
- play mtg against computer ai opponents
- host my own magic the gathering server
- play commander multiplayer online with friends
- test card combos with predefined game situations
- build and import mtg decks
- play magic offline without internet
- join free mtg tournaments and drafts

## When to choose
- you want a free, rules-enforced way to play Magic online or offline
- you want to self-host a private server for friends or AI play
- you need support for many formats, drafts, and tournaments
- you want to test combos with a special test mode

## When to avoid
- you want official MTG Arena graphics and licensed content
- you need a mobile or browser-based client
- you prefer casual rules-free tabletop simulation rather than strict rules enforcement

## Facets
- artifact type: application
- maturity: active
- function: game-engine, gui, networking
- domain: gaming-tools, cross-platform
- platform: jvm, windows, cross-platform
- tags: magic-the-gathering, card-game, client-server, multiplayer, rules-engine, ccg, deck-editor, ai-opponents, mtgjson, scryfall, ai, game-development, linux, macos, desktop

## Member repositories
- magefree/mage (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:39.162042+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:37:17.492536+00:00, confidence not recorded.
  - readme: https://github.com/magefree/mage (fetched 2026-08-28T04:06:39.162042+00:00, sha 5bb3dc6a5ff5)
  - homepage: https://xmage.today (fetched 2026-08-29T10:17:46.640567+00:00, sha be522667cc04)
- Data as of 2026-08-30T08:39:29.467469+00:00.
