Skip to content

NikhilNayak278/BlackJack_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blackjack Game

Simple browser-based Blackjack game (vanilla HTML/CSS/JavaScript).

This is a small learning project that implements a playable Blackjack (21) game using only static files.

Files

  • index.html - Main page to load the game.
  • index.js - Game logic and UI interaction (vanilla JavaScript).
  • index.css - Styling for the game UI.
  • table.png - Decorative image used by the UI.

How to run

  1. Clone or copy the project folder to your machine.
  2. Open index.html in a web browser (Chrome, Edge, or Firefox).

On Windows you can open it from PowerShell with:

Start-Process index.html

Or just double-click the index.html file in File Explorer.

How to play

  • The goal is to reach a hand value as close to 21 as possible without going over.
  • Use the UI buttons to "Hit" (take a card) or "Stand" (end your turn).
  • The dealer will play automatically after you stand. The winner is determined by standard Blackjack rules.

Notes for developers

  • This is a static front-end project—no build tools or server required.
  • To make changes, edit index.js and index.css, then reload index.html in your browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •