magefree / magefree/mage

Tournament Table (cannot select decks for AI)

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

Description

If AI is selected, there is no box for selecting nor generating deck. In creating a single table, the deck is selectable.

By default, the deck from AI is selected as the same as the player as shown here
https://github.com/magefree/mage/blob/master/Mage.Client/src/main/java/mage/client/dialog/NewTournamentDialog.java#L706
whereas when creating a single table, the last parameters are not set (maybe the box builds when removing that argument?)
https://github.com/magefree/mage/blob/master/Mage.Client/src/main/java/mage/client/dialog/NewTableDialog.java#L513

Here are the form files (single table and tournament table)
https://github.com/magefree/mage/blob/master/Mage.Client/src/main/java/mage/client/dialog/NewTableDialog.form
https://github.com/magefree/mage/blob/master/Mage.Client/src/main/java/mage/client/dialog/NewTournamentDialog.form

Contributor guide

No contributing guide indexed for this repository

Research direction

Compare Mage.Client/src/main/java/mage/client/dialog/NewTournamentDialog.java around line 706 with NewTableDialog.java around line 513, then inspect NewTournamentDialog.form and NewTableDialog.form. Verify how AI deck selection and generation controls are constructed; done means an AI tournament table exposes the appropriate deck controls like a single table.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop, game-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.