Skip to content

Macias118/Blackjack

Repository files navigation

Blackjack Game

Gradient generator

https://angrytools.com/gradient/image/

Colors RGB and others

https://inventwithpython.com/pygame/chapter2.html

Gradient API

https://gradientjoy.com/

Simple programming paradigms

  • short functions
  • no classes

Download and load background

  1. Define url
  2. Try to download image to specific path
    • if not done after about 5 seconds then stop trying -> None
    • if done -> path_to_local_file
  3. if path_to_local_file:
    • Try to load image
      • if not done -> None
      • if done -> image_loaded
  4. if image_loaded -> Blit image on every loop iteration

Plan

  • add music

About

Blackjack card game - testing phase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages