Git Product home page Git Product logo

durak's Introduction

Durak

Actions Status Actions Status
pipeline status coverage report
pipeline status coverage report


This project is a playable version of the card game, Durak ('fool' in Russian).

The game can be played with up to 5 people, with a deck of 36 cards (6 through Ace, Ace high).

See the wikipedia page for more information.

Dev setup guide:

  • Make sure that you have Node.JS Installed
  • Run npm install in the terminal, this will install all of the packages needed to run the project (and all of their dependencies)

Running the application:

  • You should have completed the dev setup (install Node and all dependencies)
  • run npm start to run the application

Quick Guide:

  • Install Node
  • Run the following commands in the project directory:
    npm install
    npm start
    

Testing:

Tests are stored in test/, named after the files they are testing, ending in test.ts.

  • To run the tests once use:
    npm test

  • However, you usually want to watch the files while working. You can use:
    npm run test:watch
    to re-run the tests every time you make changes.

durak's People

Contributors

algiokas avatar dependabot[bot] avatar kaisforza avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

durak's Issues

Cards

deck class with cards and states of each card

also includes trump information

See diagram:

image

test

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Turn/Trick handling

Handle tricks, 2-card objects with an attack/defend move. Multiple tricks can be part of a turn.

Get playable cards from each player at all points in the turn.

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.