Topic: Randomize Deck as a Pre-Shuffle

If you are like me, you might want to randomize your deck before a game to ensure it's adequately pre-shuffled.

Well, I made a PowerShell script that'll generate a randomized deck listing for you!

To use the script, you'll need PowerShell. If you're on Windows, you are all set. If you are on macOS/Linux, you'll need to download and install PowerShell. It's easy - Google it smile

Next, view your deck on Deckbox. Navigate to Export -> Export to CSV, and save the file.

Then open up my script: … mOrder.ps1
Copy and paste the code into Notepad or your favorite text editor.

Modify the first line and replace it with the name of your file, e.g.:
$strFileName = Join-Path '.' 'Teferi, Timeless Voyager (Core Set 2021 Planeswalker Deck)_franklesniak_2020.November.27.csv'
$strFileName = Join-Path '.' 'Your deck name here.Month.Day.csv'
Copy the text to the clipboard.

Then open PowerShell. Paste the text into the PowerShell prompt. On Windows, all you need to do is right-click on the prompt and it'll paste.

The deck's cards will spit out in a random order.