text: # Author: Christoph Böhringer, Alexander Urban
  # Date: 05/28/2020
  # Version: 2.0
  
  import ctypes
  import pygame
  import json
  
  
  class Screen:
      screen_width: float
      screen_height: float
      background_image: pygame.image
  
      screen: pygame.display
  
      """
      desc: 
          - initialize the game screen
      param:
          - none
      return:
          - none
      """
      def __init__(self):
  
          self.init_images()
  
          self.init_screen()
          self.create_screen()
  
      """
      desc: 
          - initialize the background image
      param:
          - none
      return:
          - none
      """
      def init_images(self):
          with open('image_pack.txt') as json_file:
              data = json.load(json_file)
          self.background_image = pygame.image.load(data["background_image_start_screen"])
  
      """
      desc: 
          - get screen variables 
      param:
          - none
      return:
          - none
      """
      def init_screen(self):
          user32 = ctypes.windll.user32
  
          self.screen_width = int(user32.GetSystemMetrics(1) * 0.9)
          self.screen_height = int(user32.GetSystemMetrics(1) * 0.9)
  
      """
      desc: 
          - build game screen
      param:
          - none
      return:
          - none
      """
      def create_screen(self):
          self.background_image = pygame.transform.smoothscale(self.background_image, (self.screen_width, self.screen_height))
          self.screen = pygame.display.set_mode((self.screen_width, self.screen_height))
          pygame.display.set_caption("Mensch Ärgere dich nicht")
  