Skip to content

Commit f30ffe0

Browse files
authored
Create README.md
1 parent ee73acb commit f30ffe0

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
![image](https://static.worldofcardgames.com/images/gameSelector/classic/heartsNormal.jpg/v/256)
2+
3+
# Basra Hearts Game
4+
5+
Basra is a hearts card game built using JavaScript and Node.js. It provides a digital version of the classic card game where the goal is to clear the tableau by stacking cards in descending order and alternating colors.
6+
7+
## Table of Contents
8+
9+
- [Installation](#installation)
10+
- [Usage](#usage)
11+
- [Game Rules](#game-rules)
12+
- [Features](#features)
13+
- [Technologies Used](#technologies-used)
14+
- [Contributing](#contributing)
15+
- [License](#license)
16+
17+
## Installation
18+
19+
1. Clone the repository:
20+
21+
```bash
22+
git clone https://github.com/your-username/Basra.git
23+
cd Basra
24+
npm install
25+
npm start
26+
```
27+
Open your web browser and navigate to http://localhost:3000 to play the game.
28+
29+
Game Rules
30+
Basra follows the standard rules of solitaire. Here are the basic rules:
31+
32+
The game is played with a standard 52-card deck.
33+
Cards are dealt into a tableau, and the goal is to move all cards to foundation piles.
34+
Cards can be moved to foundation piles if they are in descending order and alternate colors.
35+
Empty tableau spaces can only be filled with Kings.
36+
The game is won when all cards are moved to the foundation piles.
37+
Features
38+
Responsive design for various screen sizes.
39+
Interactive and user-friendly interface.
40+
Randomized shuffling of cards for a unique gaming experience.
41+
Technologies Used
42+
JavaScript
43+
Node.js
44+
HTML5
45+
CSS3

0 commit comments

Comments
 (0)