Giter VIP home page Giter VIP logo

kitten-exp's Introduction

๐Ÿ˜ธ Exploding Kitten, a web-based game.

This will be an online single-player card game that consists of 4 different types of cards

  • Cat card ๐Ÿ˜ผ
  • Defuse card ๐Ÿ™…โ€โ™‚๏ธ
  • Shuffle card ๐Ÿ”€
  • Exploding kitten card ๐Ÿ’ฃ

There will be a button to start the game. When the game is started there will be a deck of 5 cards ordered randomly. Each time user clicks on the deck a card is revealed and that card is removed from the deck. A player wins the game once he draws all 5 cards from the deck and there is no card left to draw.

Rules โ€“

  • If the card drawn from the deck is a cat card, then the card is removed from the deck.
  • If the card is exploding kitten (bomb) then the player loses the game.
  • If the card is a defusing card, then the card is removed from the deck. This card can be used to defuse one bomb that may come in subsequent cards drawn from the deck.
  • If the card is a shuffle card, then the game is restarted and the deck is filled with 5 cards again.

features:

  1. Automatically saves the game for a user at every stage so the user can continue from where he left off last time.
  2. Real-time update of points on the leaderboard for all the users if they are playing simultaneously.

Steps to Run

This guide provides instructions on how to run the project.

Prerequisites

  1. Node.js (with npm)

  2. Download Redis for Windows:

You can download Redis for Windows from the official GitHub repository: MicrosoftArchive/redis.

  1. Extract the Files:

Once the download is complete, extract the contents of the downloaded zip file to a directory on your computer. For example, you can extract it to C:\Redis.

  1. Run Redis Server:

Open a Command Prompt window with administrator privileges.

  1. Navigate to Redis Directory:

Use the cd command to navigate to the directory where you extracted Redis. For example:

cd C:\Redis
  1. Start Redis Server:

Run the following command to start the Redis server:

redis-server.exe

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

  1. Download And Extract the Repository:

  2. Navigate into the project directory, Install dependencies And Run the project:

    cd backend
    npm install
    npm start
    cd frontend
    npm install
    npm start

kitten-exp's People

Contributors

rudra-maity 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.