Photo location guessing game in Go

Conclusions

Schnitzle is a lot of fun; try it out! Sometimes it's surprisingly difficult to determine the compass direction in your head in order to even walk from one part of town to another, as depicted in the photos. I was often surprised by the results, even for locations that I thought I was very familiar with. The game offers hours of entertainment for the whole family when you trawl long-forgotten photos from years gone by from the depths of a massive image collection.

Infos

  1. Wordle: https://www.nytimes.com/games/wordle/index.html
  2. Worldle: https://worldle.teuteuf.fr/
  3. K-means algorithm: https://en.wikipedia.org/wiki/K-means_clustering
  4. "Calculating Clusters with AI Methods" by Mike Schilli, Linux Magazine, issue 145, December 2012, p. 62
  5. Unsupervised learning: https://en.wikipedia.org/wiki/Unsupervised_learning
  6. kmeans library on GitHub: https://github.com/muesli/kmeans
  7. "Adjusting Cell Phone Photo Orientation with Go" by Mike Schilli, Linux Magazine, issue 257, April 2022, p. 52
  8. "Calculate distance, bearing and more between Latitude/Longitude points": http://www.movable-type.co.uk/scripts/latlong.html
  9. "Game Development with Go and the Fyne Framework" by Mike Schilli, Linux Magazine, issue 255, February 2022, p. 32
  10. "Discarding Photo Fails with 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 mailto:mschilli@perlmeister.com he will gladly answer any questions.

Buy this article as PDF

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

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Wheat and Chaff

    If you want to keep only the good photos from your digital collection, you have to find and delete the fails. Mike Schilli writes a graphical application with Go and the Fyne framework to help you cull your photo library.

  • 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.

  • Chip Shot

    We all know that the Fyne framework for Go can be used to create GUIs for the desktop, but you can also write games with it. Mike Schilli takes on a classic from the soccer field.

  • 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.

  • Digital Shoe Box

    In honor of the 25th anniversary of his Programming Snapshot column, Mike Schilli revisits an old problem and solves it with Go instead of Perl.

comments powered by Disqus