Learn Programming in Go (golang): Fun Project "Hangman" Game (Udemy.com)
Educational video
Created by: Jens Schendel
Last updated August 2022
What you will learn
- Starting a simple package in Go without fancy package management or using Go modules.
- Deal with functions from the standard library for formatted input/ouput.
- Use of primitive data types like string, bool, int and accessing elements of underlying arrays by their index.
- Work with values of type string and make use of methods provided in the package "strings" from the standard library.
- Conditional execution of external (non-Go) programs provided by your operation system.
- Design simple control flow by using for loops, if/else if/else, switch case, functions, range, aso.
- Read data from simple textfiles.
- Handling of the obvious errors and potential sources of errors.
- Pass a pointer value to a function accepting a parameter of type pointer to mutate a value.
- Add useful comments as minimal documentation to your code. (Yes, I know it could be done better!)
How it compares
Against the other 72 rated Udemy courses in Game Design on CourseDuck:
- Rating4.3 out of 5higher than 15% of them
- Reviews106#48 of 73 by number of reviews
- Length1.9 hoursshorter than 95% of them
- Last updatedAugust 2022earlier than 52% of them
Course Description
Join me on an exciting short trip as we experience a little coding project with Google's programming language Go (golang). Together we will use the basics of programming and build the classic guessing game "Hangman" for the terminal - from scratch of course.
At the end of my latest programming course "Learn Programming in Go (golang): A Rich Guide for Beginners" I suggest my students to start using Google's programming language Go just by creating a simple "Hangman" game for the terminal. With this simple project I redeem the promise to myself to show you how easy it is to start coding with Go.
This project doesn't even have to show off with "fancy" features like to extensive use of slices, concurrency or complex structs that Go has to offer. Rather, I want to show how Google's programming language can be used to achieve respectable results in the shortest possible time.
The fun of "ease of programming" is in the foreground here! So enjoy it, it's free!
Why did Google develop a new programming language?
In Google's words, "Go was born out of frustration with existing languages and environments for systems programming. Programming had become too difficult and the choice of languages was partly to blame. One had to choose either
efficient compilation,
efficient execution, or
ease of programming;
all three were not available in the same mainstream language. Programmers who could were choosing ease over safety and efficiency by moving to dynamically typed languages such as Python and JavaScript rather than C++ or, to a lesser extent, Java. Go is an attempt to combine the ease of programming of an interpreted, dynamically typed language with the efficiency and safety of a statically typed, compiled language. It also aims to be modern, with support for networked and multicore computing.
Finally, working with Go is intended to be fast: it should take at most a few seconds to build a large executable on a single computer. To meet these goals required addressing a number of linguistic issues: an expressive but lightweight type system; concurrency and garbage collection; rigid dependency specification; and so on. These cannot be addressed well by libraries or tools; a new language was called for."
In my humble opinion, Go is the best programming language you can learn today. I've worked with a few programming languages since I was introduced to programming through BASIC in the mid-80s, and Go is by far the best-designed language I've ever used.
Now start your computer and let's have some fun coding "Hangman"!
Instructor Details
- 4.3 Rating
106 Reviews
Jens Schendel
CLA & CLE – C Language Certified Associate Programmer & Entry-Level Programmer
Harvard/edX CS50x Introduction to Computer Science
LPIC-2 & 1 Linux Engineer & Admin
CBSA & CBBF - BTA Certified Blockchain Solution Architect & Blockchain Business Foundations
CompTIA Linux+
Digital History:
Atari 2600, Commodore VIC-20, Commodore C64, Dragon 32, Dragon 64, Apple II, Amiga, x286, x386, x486, Pentium, Pentium II-4, Apple Mac G3, G4, G5, MacMini, MacBook, RasPi, workstations from i3-i7 und all places you can open a shell to! :-)
More courses by Jens Schendel
Learn Programming in Go (golang): Webserver with PostgreSQL (2023)
4.3 (113 Reviews)
Provider: Udemy
Time: 1.8h
Free
GO (golang): Develop Modern, Fast & Secure Web Applications (2023)
4.5 (51 Reviews)
Provider: Udemy
Time: 50.7h
$79.99
Learn Programming in GO (golang): A Rich Guide for Beginners (2023)
4.2 (50 Reviews)
Provider: Udemy
Time: 42.6h
$74.99
GO (golang): Brief Guide To Programming a Blockchain with GO (2024)
4.5 (36 Reviews)
Provider: Udemy
Time: 6.5h
$54.99
More Game Design courses
Master Procedural Maze Generation - Unity 6 Compatible (2025)
4.8 (412 Reviews)
Provider: Udemy
Time: 21h
$79.99
Full game character in Blender course - Moth Girl (2025)
4.8 (305 Reviews)
Provider: Udemy
Time: 49.9h
$19.99
2D Adventure Game Creation: Art, Music, Programming and More (2019)
4.7 (338 Reviews)
Provider: Udemy
Time: 19.6h
$84.99
Indie Game Design: Build Your Game’s Core System (2026)
4.7 (155 Reviews)
Provider: Udemy
Time: 3.4h
$19.99
Reviews
By Zakwan Ali Tariq on 6/8/2026
That background music is making me sleep
By Przemysław Wolski on 5/21/2026
A great course - it would be even better with a breakdown of each piece of code instead of a few copy-pasted snippets, but the overall result is really good.
By Samuel Ikoli on 12/3/2024
Was cat-fished with the thumbnail. Saw a woman, lol. But good stuff.
By Surendra on 3/16/2024
Language / accent is little halting, But the explanations are good and can be more useful by adding some real-world like database handling, web server and module development
By Dirk Hamhill on 11/5/2023
funny, short, to the point. a training you can follow watching on your mobile while traveling.
By Apu Mahelipitilan on 11/5/2023
I'm incredibly grateful for the free Hangman coding training in Go! The step-by-step guidance was crystal clear, making the anyway not too complex game surprisingly easy to code. Can recommend this. It's free!
By Abraham Sinai on 3/28/2023
Really interesting to see how a simple game can have so many logical steps that we usually take for granted.
By Ewald Horn on 10/24/2022
It's interesting - I'm not entirely sure how things will pan out, but it looks like we are getting some traction!
By G. Maria on 9/20/2022
Instructor kept everything simple. Easy to follow as a beginner.
By Constance Z on 8/21/2022
Pretty straight forward. Good for a beginner but too easy for advanced programmers. Interesting watching.
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 86 / 100










