magefree / magefree/mage

Support team vs team format

Open
#4,163 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

This is an intermediate step for other official formats like Archenemy (#2038), Two Headed Giant (#349) or even [Horde Magic](https://mtg.gamepedia.com/Horde_Magic) (excellent format for xMage).

That format like current free for all but players can attack-select only another team members. If all team members die -- game win. Many cards have wrong implementation and need to fix (example [Pulse Of The Grid](https://github.com/magefree/mage/blob/ba50812eb4ffbd45755888c02bc6fea03c217a28/Mage.Sets/src/mage/cards/p/PulseOfTheGrid.java) implementation with `game.getState().getPlayersInRange()` which return all other players, not team).

As idea: mark players as "not opponent" flag -- it can help to filter players in effects.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the team-versus-team behavior described in the issue and inspect Mage.Sets/src/mage/cards/p/PulseOfTheGrid.java, especially its use of game.getState().getPlayersInRange(). Review issues #2038 and #349 for related official formats. Done means team membership is respected when selecting attack targets and the game ends when all members of a team die.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.