Phisti is a traditional Turkish card game that can be played with 2 to 4 players. This project is an implementation of the Phisti card game in C#.
Phisti is a fun and strategic card game where players try to take cards from the table by matching cards of the same rank. The game can be played by two or more players. In this version, the game is implemented with a focus on simplicity, and it's designed to be played between a human and a computer opponent.
The core logic of the game was developed to enhance coding skills and provide a base for building a more complete game experience. This project serves as a demonstration of game programming fundamentals in C#.
- Card Dealing: Cards are shuffled and dealt to the players and the table.
- Turn-based Gameplay: The game alternates between the player and the computer, with each taking turns to play cards.
- Scoring: Players score points by collecting cards of matching ranks or by playing special cards.
- Rounds: The game is played in multiple rounds, and after a set number of rounds, the winner is determined based on the score.
To run this project locally, you need to have .NET 5.0 or higher installed.
-
Clone the repository: git clone https://github.com/ilyasbozdemir/phisti-game.git
-
Navigate to the project directory: cd PhistiGameCSharp
-
Build the solution: dotnet build
-
Run the application: dotnet run