Multi-Choice Mini Games/Functions
This cross-platform application, built using C# and Avalonia, is designed to provide a simple yet engaging user experience. Upon launching the application, users are greeted with a menu that allows them to choose between different mini-games or utility functions. The initial version of the application includes two main features:
- Calculator: A basic calculator designed for quick arithmetic operations. The interface is straightforward and user-friendly, ensuring that anyone can use it without difficulty.
- Rock-Paper-Scissors: A classic Rock-Paper-Scissors game where the player competes against the CPU. The game tracks the user's wins and losses, making it an enjoyable challenge to beat the computer.
- Tic-Tac-Toe (1 vs 1): A traditional Tic-Tac-Toe game allowing two players to compete against each other. Players take turns marking a 3x3 grid, and the first to align three of their marks horizontally, vertically, or diagonally wins.
- Hangman: An entertaining word-guessing game where the player attempts to guess a hidden word one letter at a time, with a limited number of incorrect guesses allowed before the game is lost
-
Main Menu: A simple interface that allows users to select between different options. Currently, the choices are "Calculator" and "Rock, Paper, Scissors", with more to be added in the future.
-
Calculator:
- Perform basic arithmetic operations such as addition, subtraction, multiplication, and division.
- Clear and intuitive interface, ensuring easy use.
-
Rock-Paper-Scissors:
- Play against the CPU with the option to choose Rock, Paper, or Scissors.
- The game determines the winner and displays the result immediately, along with a running tally of wins and losses.
-
Tic-Tac-Toe (1 vs 1):
- Two players can compete against each other in a classic Tic-Tac-Toe game.
- Players take turns marking the grid, and the game immediately displays the winner or a tie if applicable.( soon)
- The game is reset after each round, allowing continuous play.( soon)
-
HangMan:
- The player attempts to guess a hidden word by selecting letters one at a time.
- The game provides a visual representation of the word with underscores for unguessed letters and shows the number of incorrect guesses remaining.
- If the player guesses the word correctly, they win; if they run out of lives, the game is lost, and a new word is automatically generated for the next round.
The application is designed with scalability in mind, allowing for easy addition of new mini-games and utilities. Future updates may include games like Tic-Tac-Toe, a memory game, or more complex utilities.
- Clone the Repository: First, you need to clone the repository from GitHub using the following command:
git clone https://github.com/your-repository-url
- Build the Project: Navigate to the project directory and build the application by running:
If the build process completes without any errors, proceed to the next step. 3.Run the Application: Start the application by executing:
cd your-repository-directory dotnet build
dotnet run
4.Select a Feature: Once the application is running, you’ll be presented with a main menu where you can choose between the Calculator or Rock-Paper-Scissors.
5.Interact: Use the chosen tool or play the game against the CPU.