Game development with Go and the Fyne framework

Coach's Advice

A few more tips for aspiring young soccer players: If the goalkeeper is standing far away from the goal and almost in front of the attacker, the only way to get past him is to shoot the ball up steeply (about 60 degrees). In this case, the shot needs to be powerful so that the ball does not come down on its steep path until just in front of the goal so that it hopefully rolls into it. In game situations where the goalkeeper is not too far out of the goal, a shot with a 45 degree angle of attack and moderate speed often does the trick. And as always, it helps to practice, practice, practice!


  1. Chip shot:
  2. Projectile motion:
  3. Listings for this article:
  4. Lanzinger, Franz. Classic Game Design: From Pong to Pac-Man with Unity. Mercury Learning and Information, 2nd Edition, May 2019:
  5. Crystal Castles:
  6. Fyne:
  7. "Programming Snapshot: Go and Fyne" by Mike Schilli, Linux Magazine, issue 254, January 2022, p. 40

The Author

Mike Schilli works as a software engineer in the San Francisco Bay Area, California. Each month in his column, which has been running since 1997, he researches practical applications of various programming languages. If you email him at he will gladly answer any questions.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Treasure Hunt

    A geolocation guessing game based on the popular Wordle evaluates a player's guesses based on the distance from and direction to the target location. Mike Schilli turns this concept into a desktop game in Go using the photos from his private collection.

  • Team Spirit

    Instead of the coach determining the team lineup, an algorithm selects the players based on their strengths for Mike Schilli's amateur soccer team.

  • Straight to the Point

    With the Fyne framework, Go offers an easy-to-use graphical interface for all popular platforms. As a sample application, Mike uses an algorithm to draw arrows onto images.

  • Gaming

    Try your luck with Rocket League, Fear Equation, and Master of Orion.

  • GUI Apps with Fyne

    The Fyne toolkit offers a simple way to build native apps that work across multiple platforms. We show you how to build a to-do list app to demonstrate Fyne's power.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More