jitacm / -30DaysDevChallenge-

Welcome to the 30DayDevChallenge repository! This repository is dedicated to a month-long coding challenge designed to help developers of all levels enhance their skills through daily coding tasks and projects.
19 stars 27 forks source link

Blackjack Game / 30_Days_Of_Java #330

Open AnshNikhare opened 1 month ago

AnshNikhare commented 1 month ago

Blackjack Game in Java

Project Proposal

Overview

This project is a command-line implementation of the classic card game Blackjack, also known as 21. The game allows a single player to compete against a dealer, with the objective of achieving a hand value as close to 21 as possible without exceeding it. The game incorporates fundamental Blackjack rules and provides a text-based graphical representation of the cards to enhance the user experience.

Objectives

Features

  1. Card Representation:

    • Each card is represented by its suit and rank.
    • Cards are displayed in a graphical format using ASCII art.
  2. Game Play:

    • Initial dealing of two cards each for the player and dealer.
    • Player actions: Hit (draw a card) or Stand (end turn).
    • Dealer actions: Automatically draws cards until the hand value is at least 17.
  3. Score Calculation:

    • Calculate hand values considering Ace as 1 or 11.
    • Handle cases where the hand value exceeds 21 (bust).
  4. Card Display:

    • Print cards in the terminal with a graphical representation.
    • Show the dealer's cards with one card hidden during the player's turn.
  5. Game Outcome:

    • Determine and display the result of the game (Player wins, Dealer wins, or Tie).

Technologies Used

github-actions[bot] commented 1 month ago

Thank you for creating this issue! 🎉

We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our [CONTRIBUTING.md] for guidelines on contributing to this Domain.

Shlokwankhade commented 1 month ago

Go Ahead