Advertisement

Database and Libraries

  • Seth Kenlon
Chapter

Abstract

There are lots of ways to store data. In the Blackjack game, you stored the building blocks for a deck of playing cards in two tables—one for suits and one for values. That’s a good method for small data sets that don’t change from game to game, but it won’t work if, for instance, it was possible for a player to level up and earn the ability to play with Jokers in the deck, because the tables defining the deck is hard-coded into the application.

Copyright information

© Seth Kenlon 2019

Authors and Affiliations

  • Seth Kenlon
    • 1
  1. 1.WellingtonNew Zealand

Personalised recommendations