### QBasic Tutorial 17 - 2 Dimensional Array - Matrix - QB64 - Deck Of Cards

http://www.SchoolFreeware.com Multi-Dimensional Arrays are several arrays that are combined into one. This tutorial will make a 2 dimensional array. Some examples where a 2 dimensional array might be used would be a chess board, grid, and a deck of cards. For this tutorial we will create a 2D (Matrix) array for a deck of cards. In a deck of cards, there are 4 suits and 13 ranks per suit. The suits are: Diamonds, Spades, Hearts, Clubs The ranks are: 2, 3, 4, 5, 6, 7, 8, 9, 10, Jack, Queen, King, Ace We can create a 2D array from the array of suits and the array of ranks.

Length:
06:05