sahmedG / Basra-game

node js game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image

Basra Hearts Game

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.

Table of Contents

Installation

  1. Clone the repository:
git clone https://github.com/your-username/Basra.git
cd Basra
npm install
npm start

Open your web browser and navigate to http://localhost:3000 to play the game.

Game Rules Basra follows the standard rules of solitaire. Here are the basic rules:

The game is played with a standard 52-card deck. Cards are dealt into a tableau, and the goal is to move all cards to foundation piles. Cards can be moved to foundation piles if they are in descending order and alternate colors. Empty tableau spaces can only be filled with Kings. The game is won when all cards are moved to the foundation piles. Features Responsive design for various screen sizes. Interactive and user-friendly interface. Randomized shuffling of cards for a unique gaming experience. Technologies Used JavaScript Node.js HTML5 CSS3

About

node js game


Languages

Language:JavaScript 76.8%Language:CSS 10.1%Language:HTML 10.1%Language:Dart 3.1%