Become a Go Game Developer in 97 Seconds - Full Programming Course

Опубликовано: 17 Апрель 2026
на канале: Beau Carnes
6,728
129

Learn to use the Go programming language in this tutorial. Go is used for game development almost never. That just means it is easier to become one of the world's best Go game developers.

Code: https://replit.com/@zizyo/go-word-game

Thanks to Replit for sponsoring this video! You can find their YouTube channel here:    / replityt  

Inspired by (but heavily optimized): https://github.com/MahmudX/word-guess...

0:00 Intro to Go
0:08 Sponsor message
0:11 Setting up development environment
0:14 package main, import, and func main
0:21 Importing additional package
0:24 Creating global variable
0:27 init function
0:30 Initializing an array of strings
0:38 Beginning main function
0:40 Creating game loop and displaying game score
0:45 Assigning variables from function
0:51 The := operator
0:54 Displaying word to guess
0:58 Creating getWord function
1:05 Getting random value from array
1:10 Creating masked word
1:14 Returning values from function
1:17 Getting input from user
1:23 Checking for win condition
1:26 Displaying correct answer on loss
1:30 Testing the game
1:33 Conclusion