Board game scripting with Google Spreadsheet, 310: Shuffling the deck and drawing 7 cards
Channel: Johan Falk
Date: 2021-11-20

In this video:
* Basic structure for simulating a game
* How to clone a JavaScript object (or an array)
* Shuffling a deck and drawing 7 cards
* A few words of the difference between declaring variables with 'var' and 'let'
* A mistake that is corrected in the next video (using 'pop' vs 'shift' on arrays)

A blog post about this video series can be found at https://creatingboardgames.wordpress.com/2021/11/20/board-game-scripting-with-google-spreadsheet-part-3/
The code can be found at https://github.com/Itangalo/Board-Game-Scripting