Skip to content

Exploding Cats is card game made using Golang, Redis and React.js for Client and For server side I am using Gin Backend Framework. Note: The project will only run locally on your machine.

Notifications You must be signed in to change notification settings

atharva3333/exploding-kittens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Exploding Kittens

Objective

The objective of this game is to draw all 5 cards from a deck of 4 different types of cards before there are no cards left to draw.

How to Play

  1. Click "Start Game" to begin.
  2. Draw cards from the deck.
  3. Win by drawing all 5 cards before the deck is empty.

Technologies Used

  • React: Frontend library for building user interfaces
  • Redux: State management library for managing application state
  • Tailwind CSS: for styling
  • Golang: Backend language for server-side logic
  • Gin: Web framework for Golang
  • Redis: Database

Getting Started

Prerequisites

  • Docker installed on your machine
  • Node.js and npm installed (Node version :v18.18.0)
  • Golang installed (Go version: 1.22.0)

Setting Up the Server

Setting Up Redis via Docker Image

  1. Change directory to the server directory cd server.
  2. Run docker pull redis to pull the Redis Docker image.
  3. Run docker run --name redis-test-instance -p 6379:6379 -d redis to start a Redis container.

Running the Golang Server

  1. Run go get to download the project dependencies.
  2. Run go run main.go to start the Golang server with Gin.

Setting Up the Client

  1. Change directory to the client directory cd client.
  2. Run npm install to install the dependencies.
  3. Run npm run dev to start the client on port 5173.

If everything is set up correctly, you should see the game running in your browser.

1

2 6 5 4 3

About

Exploding Cats is card game made using Golang, Redis and React.js for Client and For server side I am using Gin Backend Framework. Note: The project will only run locally on your machine.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published