Multiplayer tic-tac-toe game written 100% in Golang, using Fyne GUI toolkit and Websockets. Works for Windows, macOS and Linux.
- Learn more about Fyne at https://developer.fyne.io/started/
- Official GitHub for Fyne: https://github.com/fyne-io/fyne
You will also need a running gameserver, available here, also written in Golang. The server is very tiny (~5MB), lightweight, and can handle lots of concurrent players without sweating your RAM or CPU. It's purely a console based program.
- Go 1.19 or higher
- C compiler (eg. gcc or Clang), and should be added to your PATH. Follow this quick guide
- For Windows users, the easiest & fastest way to get GCC, is to install it from here.
- Other OS, you can use your package manager.
- Any graphics driver installed.
-
Verify your machine has the requirements listed above
-
Install the Fyne v2 CLI:
go install fyne.io/fyne/v2/cmd/fyne@latest
-
Go to this project root directory, open terminal and enter:
# For more flags, use: fyne package --help fyne package
-
Be patient, first time build will take much longer to complete than subsequent ones.
-
For an optimized, smaller package (50% smaller), use command below. Icon will be automatically attached.
# Flag --id (appID) is required. See docs https://developer.fyne.io/started/distribution fyne package --release --id com.yourdomain.appName
Free Icon by Vlad Marin, IconFinder.
© 2023, Davis Tibbz. This project is MIT licensed.
Pull requests and issues are much welcome.