Welcome to the Golang Games Repository!!! This Repository contains a collection of games written in the Go programming langauge, created by Bakarseck. Whether you're a beginner learning Go or an experienced developper looking for fun projects, this repository has something for everyone.
To get started with the games in this repository, make sure you have Go installed on your machine. You can download and install Go by following the instructions provided on the official Go website.
Once you have Go installed, clone this repository to your local machine and navigate to the repository's directory using the following command:
git clone https://github.com/Bakarseck/my_games.git
cd my_games
Now you're ready to explore the games!!!
Game1 : Tic-Tac-Toe
Description : A command-line implementation of the popular Tic-Tac-Toe game where two players take turns makingX
or 0
on a 3x3 grid.Rules :
- To play, you must give The position that you want to play you sign.
- You can't play in a position that already played by another player
- You Win if you have your sign aligned three times.
Good luck playing TicTacToe!
cd tictactoe
go build -o tictactoe
./tictactoe
Game2: Hangman
Description: Hangman is a command-line implementation of the popular Hangman game, where a player tries to guess a word by suggesting letters one by one.Rules:
- A word is randomly chosen and its definition provided.
- The player has to guess which letters the word contains by proposing them one by one.
- The player suggests one letter at a time, and if that letter is present in the word, it is revealed at its corresponding position.
- If the suggested letter is not present in the word, the player loses a point.
- The player has a limited number of attempts to guess the complete word before losing the game.
- The player wins if they manage to guess the word before exhausting all their attempts.
Good luck playing Hangman!
cd hangman
go build -o hangman
./hangman