user3523222
user3523222

Reputation: 33

Need helping setting up Pygame

First things first, I'm on Windows 10 64bit. So I have Python 3.6 installed as well as Pygame(installed via .whl), however, when I go to execute my pygame, it brings up the console and nothing else. I don't see any errors in Geany and Geany reports that the code was compiled successfully.

My output and code

Upvotes: 0

Views: 47

Answers (1)

GP89
GP89

Reputation: 6730

your call to run_game() is indented, which mean's it's inside the definition of run_game and isn't getting called.

Try out-denting it

def run_game():
    ....

run_game()

Upvotes: 2

Related Questions