Giter VIP home page Giter VIP logo

five-card-poker's Introduction

Five-Card-Poker

Five-Card Draw Poker Console Application

Overview

This console-based application is designed to simulate a simplified version of the classic poker variant, Five-Card Draw. In this variant, each player is dealt a hand of 5 cards, with the option to swap any number of those cards for new ones. However, in this particular implementation, there is no card swapping allowed. Players will compete against each other based on the standard 5-card poker hand rankings.

Features

Dealing Hands: The application deals a hand of 5 cards to each player participating in the game.

Hand Evaluation: The program evaluates and compares poker hands based on the standard 5-card poker hand rankings (e.g., pairs, two pairs, three of a kind, straight, flush, full house, etc.).

Console Interface: The entire interaction with the application is done through the console, providing a user-friendly experience.

Built with C#, Dapper, and SQL Server: The application is developed using the C# programming language. Dapper, a simple object mapper for .NET and SQL Server, is employed for data access and management.

Prerequisites

.NET SDK

SQL Server

##Getting Started Clone the repository to your local machine.

bash Copy code git clone [https://github.com/your-username/five-card-draw-poker.git] Open the project in your preferred C# development environment (e.g., Visual Studio).

Set up the SQL Server database using the provided scripts.

Configure the database connection string in the application.

Build and run the application.

Database Schema

The application utilizes a SQL Server database to store and manage game-related data. The database schema includes tables for players, and game history.

To simply view the project files, please navigate to the master branch.

five-card-poker's People

Contributors

dimpho0101 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.