A fun and simple command-line Bingo game implemented in Go (Golang)! Play against the computer and see who gets Bingo first.
-
Generates random 5x5 Bingo cards for player and computer
-
Tracks numbers drawn and updates cards in real-time
-
Automatically checks for Bingo (rows, columns, diagonals)
-
Simple terminal interface
-
Can play online with a Friend (Choose play with Friend)
-
Clean, modular Go code
Go 1.18 or higher
Clone the repository:
git clone https://github.com/yourusername/go-bingo.git
cd go-bingo
Build and run the game:
go run main.go play
Follow the on-screen instructions to play.
Dowlnoad from the releases.
Extract the zip file
Open the terminal where the .exe file is and type in .\gobingo.exe play to play
-
Each player gets a 5x5 Bingo board with random numbers.
-
Numbers are drawn one at a time.
-
Xmarks drawn numbers on the board. -
A line is counted when all numbers of either a row or a column or top diagonal is marked.
-
The first to complete 5 lines wins.
Feedback @ shazzsamed@gmail.com
Checkout the blog for more: Medium