Skip to content

Jmsnipes100/Chapter_9

 
 

Repository files navigation

Chapter_9

Exercises for Chapter 9

#Challenges

  1. Add some much-needed error checking to the Blackjack game. Before a new round begins, make sure that the deck has enough cards. If not, repopulate and reshuffle it. Find other places where you could add error checking and create the necessary safeguards.
  2. Write a one-card version of the game war, where each player gets a single card and the player with the highest card wins.
  3. Improve the Blackjack project by allowing players to bet. Keep track of each player’s bankroll and remove any player who runs out of money.
  4. Create a simple adventure game using objects, where a player can travel between various, connected locations.

About

Exercises for Chapter 9

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%