Skip to content

Latest commit

 

History

History
88 lines (54 loc) · 1.95 KB

File metadata and controls

88 lines (54 loc) · 1.95 KB

Durak Game on Ethereum 🎴💰

A next-gen adaptation of the classic Russian card game, Durak. Crafted with React and extended to the decentralized realm with Ethereum's blockchain test network and smart contract implementations.

🚀 Live Here: Durak Ethereum Game

Table of Contents

  1. Installation
  2. Blockchain Setup
  3. Deployment
  4. Usage
  5. Features
  6. Contributing
  7. License
  8. Authors

Installation

# Ensure you have Node.js and npm:
node -v && npm -v

# Clone the repository:
git clone https://github.com/SubZeroX9/durak-game.git

# Navigate to the project directory:
cd durak-game

# Install the project dependencies:
npm install

Blockchain Setup

Ensure you have MetaMask installed for in-browser blockchain interactions.

Connect to the Ethereum test network of your choice.

Interact with the deployed contracts via the game's interface.

Deployment

Install gh-pages package for deployment:

npm install gh-pages --save-dev

Add the homepage to package.json (replace with your actual GitHub username):

echo '"homepage": "http://.github.io/durak-game",' >> package.json

Push changes to GitHub:

git add . git commit -m "Prepared for GitHub Pages deployment" git push

Deploy to GitHub Pages:

npm run deploy

To run the game locally:

Usage

npm start

Features

2-6 player support. Game rule customization. Durak token scoring system. Intuitive UI.

Contributing

Contributions, issues, and feature requests are welcome. For major changes, please open an issue first to discuss what you would like to change. See the issues page for more.

License

MIT

Authors

--Yahalomit Levi Vaizman --Nisan Fichman --Rafael Azriaiev