Welcome to the Kid-Friendly Bash Games repository! This collection contains simple, fun, and educational Bash games designed to teach kids the basics of coding. Each game focuses on fundamental programming concepts, making learning to code an enjoyable experience.
-
A game where players guess a randomly selected number between 1 and 100.
- Objective: Guess the number selected by the computer.
- Key Concepts: Variables, loops, conditionals, input/output.
- Learn More
-
A classic game where players choose rock, paper, or scissors and play against the computer.
- Objective: Choose rock, paper, or scissors and try to beat the computer's choice.
- Key Concepts: Random number generation, conditionals, input/output.
- Learn More
-
Tic Tac Toe ❌⭕
A game where players take turns placing Xs and Os on a 3x3 grid, aiming to get three in a row.
- Objective: Get three in a row horizontally, vertically, or diagonally.
- Key Concepts: 2D arrays, loops, conditionals, input/output.
- Learn More
-
Hangman 🔠
A word-guessing game where players try to uncover a hidden word by guessing letters.
- Objective: Guess the hidden word before making too many incorrect guesses.
- Key Concepts: Strings, loops, conditionals, input/output.
- Learn More
-
Math Quiz ➕➖✖️➗
A game where players answer random math questions.
- Objective: Answer math questions correctly to score points.
- Key Concepts: Random number generation, arithmetic operations, loops, conditionals.
- Learn More
-
A game where players try to unscramble a scrambled word.
- Objective: Unscramble the word within a given time limit.
- Key Concepts: Strings, loops, conditionals, input/output.
- Learn More
-
Treasure Hunt 🏴☠️
A game where players explore a grid to find hidden treasures.
- Objective: Find all hidden treasures on the grid.
- Key Concepts: 2D arrays, loops, conditionals, input/output.
- Learn More
-
A game where players match pairs of cards based on memory.
- Objective: Match all pairs of cards with the fewest attempts.
- Key Concepts: Arrays, loops, conditionals, input/output.
- Learn More
-
Clone the repository:
git clone https://github.com/samerfarida/kid-friendly-bash-games.git
cd kid-friendly-bash-games -
Navigate to the game directory:
cd the-game-name -
Follow the game-specific README instructions: Each game has its own
README.mdwith detailed instructions on how to run and play the game.
We welcome contributions! If you have ideas for new games or improvements to existing ones, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature-new-game. - Make your changes and commit them:
git commit -m 'Add a new game'. - Push to the branch:
git push origin feature-new-game. - Submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
If you have any questions or suggestions, feel free to open an issue or reach out to us.