''' Student Mental Health Check-in Program The moods and colors can be adapted for your class. The program can be adapted for color-blindness by including print statements with the colors on the screen, or using shades of gray. Your own RGB colors can be defined and used. As an alternative, JPG images of moods can be used, but that is not an easy beginner-type of program. This version will run the code one time. ''' from codex import * # Menu of moods display.print("Menu of moods") display.print() display.print("Up = I'm Great", color=DARK_GREEN) display.print("Down = I'm Okay", color=GREEN) display.print("Left = I'm meh", color=CYAN) display.print("Right = Struggling", color=ORANGE) display.print("A = Frustrated", color=PURPLE) display.print("B = Overwhelmed!", color=RED) while True: # Feeling great if buttons.was_pressed(BTN_U): display.fill(DARK_GREEN) break # Feeling okay if buttons.was_pressed(BTN_D): display.fill(GREEN) break # Feeling meh if buttons.was_pressed(BTN_L): display.fill(CYAN) break # Struggling if buttons.was_pressed(BTN_R): display.fill(ORANGE) break # Frustrated if buttons.was_pressed(BTN_A): display.fill(PURPLE) break # Overwhelmed if buttons.was_pressed(BTN_B): display.fill(RED) break