We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a9d2cc commit c3899a0Copy full SHA for c3899a0
CircuitPython_Zorque_Text_Game_openai/code.py
@@ -30,7 +30,11 @@
30
# Place the key in your settings.toml file
31
openai_api_key = os.getenv("OPENAI_API_KEY")
32
33
-nice_font = load_font("helvR10.pcf")
+# Select a 14-point font for the PyPortal titano, 10-point for original & Pynt
34
+if board.DISPLAY.width > 320:
35
+ nice_font = load_font("helvR14.pcf")
36
+else:
37
+ nice_font = load_font("helvR10.pcf")
38
line_spacing = 0.75
39
40
# Customize this prompt as you see fit to create a different experience
CircuitPython_Zorque_Text_Game_openai/helvR14.pcf
70.1 KB
0 commit comments