It is currently 17 Jun 2025, 13:28
   
Text Size

Shandalar - Feature Requests

Shandalar Engine Duel Mode for testing cards and decks (implemented)

 

Would it be possible to put togather a "mini-manalink" with cards using the Shandalar engine? It would make testing cards and AI-viable strats for decks immensly. Just to be able to load your deck and the enemy deck, set initial lives and duel, all it would need.

Probably not, and has got to have been asked for before, but I have to ask.
Last edited by Korath on 26 Oct 2015, 08:52, edited 2 times in total.
Reason: set version

Comments

Posted by Korath » 06 Oct 2015, 05:14

Hrm. I know I could force an immediate duel with an arbitrary enemy (chosen on the command line) as soon as a game is loaded, though certainly not easily. Changing the human player's deck is more difficult. (Even setting aside things like Burning Wish that look through the cards you own but aren't in your deck.) Maybe if I hijack the "Why don't you try this deck?" enemy ability....

Posted by Korath » 22 Oct 2015, 00:29

commit db4d6e206afd37d0dde9928f84ec1a0d204098df
Author: Korath <dgk@Dirge.none>
Date: Wed Oct 21 20:23:04 2015 -0400

[NB] FIX #768: stand-alone duel mode via --enemy-deck, --player-deck cmdline

These start an endless series of duels between the two decks given on the
command line. Conceding will start a new duel as usual; closing the window
(via alt-F4 if not running in windowed mode) will do the right thing and exit,
even though Shandalar and Manalink both try to catch that and turn it into a
concession instead.

The options can each be either a deck's filename or a directory containing at
least one deck file ending in .dck. In the latter case, subdirectories are
searched as well, and a random deckfile is chosen each duel. (Exactly which
filenames are picked can be seen in shandalar_dll.log; the human player's is
named first. They're also echoed to the console.)

If only one of the two options is given, the other will be set to be the same.
(Combined with the above, this means that the usual way to run the game is
"shandalar -e decks".)

If a given pathname doesn't exist, try adding "decks/" at the start, ".dck" at
the end, and both before giving up.

Incidental: Modify human player's life with config options at the same point
the AI's life is set and mangled, rather than setting it (much) later just
before mulligans, so the unaltered total is never shown on the screen even
momentarily.

Posted by lujo » 23 Oct 2015, 10:41

=D> =D> =D>

Ticket details

  • Ticket ID: 768
  • Project: Shandalar
  • Status: Implemented
  • Component: (unknown)
  • Project version: Nomad's Bazaar
  • Priority: Normal
  • Assigned to: Korath
  • Reported by: lujo
  • Reporter's tickets: List all tickets
  • Reported on: 05 Oct 2015, 13:15
  • Last visited by Korath » 26 Jul 2016, 21:05.
 

Main Menu

User Menu

Our Partners


Login Form