Basics Normally the package is called to it's filename, e.g. basics. Unless it will be an executable, then you call it main. Game loop for loop: Update func get all input update all your things Draw draw all things Ref https://gameswithgo.org/ https://www.youtube.com/watch?v=9D4yH7e_ea8&list=PLDZujg-VgQlZUy1iCqBbe5faZLMkA3g2x https://www.youtube.com/watch?v=4RAwgmLjdCs&index=8&list=PLDZujg-VgQlZUy1iCqBbe5faZLMkA3g2x