Had to change values in line 381 to get it to initialize.
pyxel.init(255, 255, caption="Jenna and bugboy", fps=60)
Then I had another error when the main screen (I guess) tried to render:
Traceback (most recent call last):
File "bugboy.py", line 425, in <module>
App()
File "bugboy.py", line 390, in __init__
pyxel.run(self.update, self.draw)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pyxel/app.py", line 257, in run
main_loop()
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pyxel/app.py", line 250, in main_loop
self._draw_frame()
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pyxel/app.py", line 467, in _draw_frame
self._draw()
File "bugboy.py", line 417, in draw
self.scene1.draw()
File "bugboy.py", line 358, in draw
drawMountains()
File "bugboy.py", line 13, in drawMountains
pyxel.tri(-40+mountainstart,210,20+mountainstart,130,125+mountainstart,256,4)
AttributeError: module 'pyxel' has no attribute 'tri'
exit status 1
I was testing on Replit. Maybe it works better in a native Python install. Otherwise I hope you get a chance to fix it. Best of luck!