https://github.com/alex-croitoriu/higher-lower-card-game
An implementation of the well-known Higher Lower card game that makes use of OOP and SOLID principles
https://github.com/alex-croitoriu/higher-lower-card-game
Last synced: about 1 month ago
JSON representation
An implementation of the well-known Higher Lower card game that makes use of OOP and SOLID principles
- Host: GitHub
- URL: https://github.com/alex-croitoriu/higher-lower-card-game
- Owner: alex-croitoriu
- Created: 2022-07-13T15:46:52.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-12-05T23:09:16.000Z (6 months ago)
- Last Synced: 2025-03-30T14:41:58.952Z (2 months ago)
- Language: C#
- Homepage:
- Size: 340 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Higher Lower Card GameA terminal-based implementation of the well-known higher lower card game, developed in C#. This was my first hands-on experience with Object Oriented Programming and SOLID principles, providing a valuable learning opportunity.
## 🛠️ Features
- The game is played in rounds. Each round players guess whether the next card will be higher, lower or equal- You play against an AI opponent
- Option to set a default betting amount at the beginning a new game
- Option to raise the bet when your guess differs from the AI's
- Option to either quit or start over when current game ends
- Win Condition: You bring the AI's balance down to 0
- Lose Condition: The AI brings your balance down to 0
## 🚀 Quick Start
### 1. Clone the project
```bash
git clone https://github.com/JellyGamez/Higher-Lower-card-game.git
```### 2. Go to the project directory
```bash
cd Higher-Lower-card-game
```### 3. Launch the game
```bash
dotnet run
```## 📋 Note
This project uses .NET 8.0 by default. If you wish to use other .net versions, update the following in the `demo.csproj` file:```xml
Exenet8.0 // Your version here
enable
enable
```