From e7e9463789616491692b102b312388add5f156bc Mon Sep 17 00:00:00 2001 From: Falko Habel Date: Sun, 19 May 2024 17:38:31 +0200 Subject: [PATCH] added the URL --- README.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 36b5b49..cebd213 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,24 @@ -# TICTACTOE in GO -#### Video Demo: +# Tic-Tac-Toe in Go +#### Video Demo: https://youtu.be/-IJmxy8wxKw #### Description: - This Tic-Tac-Toe game is a simple single-player experience where the player takes on a computer-controlled opponent. The goal of the game is to make a horizontal, vertical, or diagonal line of their chosen symbol (X or O) on a 3x3 grid. The game ends when one player successfully achieves three marks in a row or when all spaces are filled, resulting in a draw if neither player has achieved this condition. ## Prerequisites -`Go` programming language installed on your machine: To run the TicTacToe application, you need to have the Go programming language installed on your computer. You can download and install Go from the official website (https://golang.org/dl/). Follow the instructions for your specific operating system to set up the Go environment. -`Fyne` framework for building cross-platform GUI applications: The application uses the Fyne framework to create the graphical user interface (GUI) for the TicTacToe game. You can install the Fyne framework using the following command: +- `Go` programming language installed on your machine: To run the TicTacToe application, you need to have the Go programming language installed on your computer. You can download and install Go from the official website (https://golang.org/dl/). Follow the instructions for your specific operating system to set up the Go environment. + +- To install the `Fyne` framework and ensure the game's smooth operation, two essential components are required: C compiler (for interfacing with system graphics drivers), and a system graphics driver. + +You can install the Fyne framework using the following commands in your terminal: ```bash go get fyne.io/fyne/v2@latest go install fyne.io/fyne/v2/cmd/fyne@latest ``` ## How to run the application +Please be aware that for some platforms, you may need to install external dependencies to ensure proper functionality. + +You can find more detailed information about these dependencies and how to install here: [dependencies](https://docs.fyne.io/started/cross-compiling.html). 1. Clone the repository: Open your terminal and run the following command to clone the TicTacToe repository to your local machine: ```bash @@ -31,8 +36,7 @@ go mod tidy ``` bash go run main.go ``` - -- Build the executable: After installing the dependencies, you can build an executable file for your operating system using the go build command: +- Build the executable: After installing the dependencies, you can build an executable file for your operating system using the go build command:s ```bash # Windows: fyne package -os windows -icon ./resources/icon.png