Advertisement
MavricMC

Blackjack Multiplayer Deck

Sep 28th, 2022 (edited)
1,047
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.22 KB | None | 0 0
  1. --BlackjackCasino version 0.0.2--
  2.  
  3. --Made by Mavric on YouTube--
  4.  
  5. deck = {
  6.     {1, "A", "\3"}, --value, card letter/number, suit--
  7.     {2, 2, "\3"},
  8.     {3, 3, "\3"},
  9.     {4, 4, "\3"},
  10.     {5, 5, "\3"},
  11.     {6, 6, "\3"},
  12.     {7, 7, "\3"},
  13.     {8, 8, "\3"},
  14.     {9, 9, "\3"},
  15.     {10, 10, "\3"},
  16.     {10, "J", "\3"},
  17.     {10, "Q", "\3"},
  18.     {10, "K", "\3"},
  19.     {1, "A", "\4"},
  20.     {2, 2, "\4"},
  21.     {3, 3, "\4"},
  22.     {4, 4, "\4"},
  23.     {5, 5, "\4"},
  24.     {6, 6, "\4"},
  25.     {7, 7, "\4"},
  26.     {8, 8, "\4"},
  27.     {9, 9, "\4"},
  28.     {10, 10, "\4"},
  29.     {10, "J", "\4"},
  30.     {10, "Q", "\4"},
  31.     {10, "K", "\4"},
  32.     {1, "A", "\5"},
  33.     {2, 2, "\5"},
  34.     {3, 3, "\5"},
  35.     {4, 4, "\5"},
  36.     {5, 5, "\5"},
  37.     {6, 6, "\5"},
  38.     {7, 7, "\5"},
  39.     {8, 8, "\5"},
  40.     {9, 9, "\5"},
  41.     {10, 10, "\5"},
  42.     {10, "J", "\5"},
  43.     {10, "Q", "\5"},
  44.     {10, "K", "\5"},
  45.     {1, "A", "\6"},
  46.     {2, 2, "\6"},
  47.     {3, 3, "\6"},
  48.     {4, 4, "\6"},
  49.     {5, 5, "\6"},
  50.     {6, 6, "\6"},
  51.     {7, 7, "\6"},
  52.     {8, 8, "\6"},
  53.     {9, 9, "\6"},
  54.     {10, 10, "\6"},
  55.     {10, "Q", "\6"},
  56.     {10, "K", "\6"},
  57.     {1, "A", "\3"}, --second deck needed with more players--
  58.     {2, 2, "\3"},
  59.     {3, 3, "\3"},
  60.     {4, 4, "\3"},
  61.     {5, 5, "\3"},
  62.     {6, 6, "\3"},
  63.     {7, 7, "\3"},
  64.     {8, 8, "\3"},
  65.     {9, 9, "\3"},
  66.     {10, 10, "\3"},
  67.     {10, "J", "\3"},
  68.     {10, "Q", "\3"},
  69.     {10, "K", "\3"},
  70.     {1, "A", "\4"},
  71.     {2, 2, "\4"},
  72.     {3, 3, "\4"},
  73.     {4, 4, "\4"},
  74.     {5, 5, "\4"},
  75.     {6, 6, "\4"},
  76.     {7, 7, "\4"},
  77.     {8, 8, "\4"},
  78.     {9, 9, "\4"},
  79.     {10, 10, "\4"},
  80.     {10, "J", "\4"},
  81.     {10, "Q", "\4"},
  82.     {10, "K", "\4"},
  83.     {1, "A", "\5"},
  84.     {2, 2, "\5"},
  85.     {3, 3, "\5"},
  86.     {4, 4, "\5"},
  87.     {5, 5, "\5"},
  88.     {6, 6, "\5"},
  89.     {7, 7, "\5"},
  90.     {8, 8, "\5"},
  91.     {9, 9, "\5"},
  92.     {10, 10, "\5"},
  93.     {10, "J", "\5"},
  94.     {10, "Q", "\5"},
  95.     {10, "K", "\5"},
  96.     {1, "A", "\6"},
  97.     {2, 2, "\6"},
  98.     {3, 3, "\6"},
  99.     {4, 4, "\6"},
  100.     {5, 5, "\6"},
  101.     {6, 6, "\6"},
  102.     {7, 7, "\6"},
  103.     {8, 8, "\6"},
  104.     {9, 9, "\6"},
  105.     {10, 10, "\6"},
  106.     {10, "Q", "\6"},
  107.     {10, "K", "\6"}
  108. }
  109.  
  110. dealer = {}
  111.  
  112. --Must be a {}, for every mirror client--
  113. player = {{}, {}, {}}
  114.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement