updated readme File with newest Information

This commit is contained in:
Falko Victor Habel 2024-05-18 23:53:56 +02:00
parent 34f35882c1
commit 57769a9b5f
1 changed files with 12 additions and 5 deletions

View File

@ -1,5 +1,7 @@
# TicTacToe Game # TICTACTOE in GO
## Overview #### Video Demo: <URL HERE>
#### 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. 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.
@ -15,7 +17,7 @@ go install fyne.io/fyne/v2/cmd/fyne@latest
1. Clone the repository: 1. Clone the repository:
Open your terminal and run the following command to clone the TicTacToe repository to your local machine: Open your terminal and run the following command to clone the TicTacToe repository to your local machine:
```bash ```bash
git clone https://gitea.fabelous.app/Fabel/TicTacToe.git` #This is my private gitea server, which is currently not always available git clone https://gitea.fabelous.app/fabel/TicTacToe.git`
cd tictactoe cd tictactoe
``` ```
2. Install dependencies: 2. Install dependencies:
@ -35,11 +37,16 @@ go run main.go
# Windows: # Windows:
fyne package -os windows -icon ./resources/icon.png fyne package -os windows -icon ./resources/icon.png
# Linux: # Linux:
fyne package -os linux -icon ./resources/icon.png #gives you a .tar.xz file fyne package -os linux -icon ./resources/icon.png # gives you a .tar.xz file
# Android
fyne package -os android -appID com.example.myapp -icon ./resources/icon.png
# MacOS: # MacOS:
fyne package -os macos -icon ./resources/icon.png #Could not Test fyne package -os macos -icon ./resources/icon.png # not tested
# IOS
fyne package -os ios -appID com.example.myapp -icon ./resources/icon.png # not tested
``` ```
This will create an executable file named "tictactoe" in your project's directory that you can run to start the TicTacToe game application. This will create an executable file named "tictactoe" in your project's directory that you can run to start the TicTacToe game application.
## Game Functionality ## Game Functionality