8793f05cea0ef26d384465d51555db220b80f7a3
Loads a player with a randomly selected commander from a specified file.
* This function reads a file ('User/commander/commander.txt') that contains a list of potential commander IDs or names.
* It selects one randomly to be used as the player's commander. If the file doesn't exist, or no valid commanders are found, a default commander ID (670972) is used.
* Can read the commander name and a multiverseID
* Lines that start with '#' are ignored
Wagic the Homebrew
Description
Wagic, the Homebrew is a C++ game engine that allows to play card games against an AI on:
- Android (phones and tablets)
- iOS (iPhone/iPad)
- Sony PSP
- Windows desktops
- MacOS
- Linux and derivatives like Maemo or Meego
It is highly customizable and allows the player to tweak the rules, create their own cards, their own themes, etc...
Download from GitHub Releases!
Documentation
Info, downloads, discussions and more at http://wololo.net/forum/index.php (archived as of 16 Nov 2022).
Chat with the community on the Wagic - MTG Game Discord (Feb 2023).
Developer information from the Wagic Wiki is also included in the wagic/docs/ folder.
Sample round play-through video
Wagic, The Homebrew sample playthrough on YouTube by Rolz73, 6 Feb 2014
Sister projects
Languages
C++
55.1%
C
38.6%
Objective-C
3.4%
Java
1.5%
HTML
0.8%
Other
0.4%



