So, I wrote a simple game, with the trutle module in Python. When I execute it, by doubleclicking it, it works just fine. But if I execute it in the Terminal, using sudo python3 SpaceWars.py it won't work.
Here's the error Message:
I'm Sorry for the Picture. I was too lazy to retype the code.
Hardware / Software:
Machine: Raspberry PI 3 Model B
OS: Retropie (Based on Raspbian)
Python Version: Python 3.4.2 default [GCC 4.9.1 on linux]
Here's the Code: https://pastebin.com/ZERS2V9g
Can someone help me?

python3, but your error message talks aboutpython2.7