open-index/open-npm huggingface dataset:
npm package: 1flex
Description: Official Flex Digital Agency package
Author: Elchin Huseynli
Latest version: 1.2.1

# 1flex

Official CLI & branding package of [Flex Digital Agency](https://flexagency.cz)

## Install

```bash
npm install -g 1flex
```

## Use

```bash
1flex
```

➡️ Displays contact info and opens our website in your browser.

---

Built with ❤️ by Elchin Huseynli  
📧 webmaster@flexagency.cz  
🌐 https://flexagency.cz
npm package: 1forge
Description: 1forge is 1forge npm package.
Author: EdisonTKP
Latest version: 0.0.1

# README #

This README would normally document whatever steps are necessary to get your application up and running.

### What is this repository for? ###

* Quick summary
* Version
* [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)

### How do I get set up? ###

* Summary of set up
* Configuration
* Dependencies
* Database configuration
* How to run tests
* Deployment instructions

### Contribution guidelines ###

* Writing tests
* Code review
* Other guidelines

### Who do I talk to? ###

* Repo owner or admin
* Other community or team contact
npm package: 1game-texas-holdem
Description: Texas Hold'em developed in NodeJS by 1game
Author: hausenism
Latest version: 1.12.1

# Texas Hold'em by 1game

[![Travis Build](https://img.shields.io/travis/hausenism/1game-texas-holdem.svg?style=flat-square)](https://travis-ci.org/hausenism/1game-texas-holdem)
[![Github Release](https://img.shields.io/github/release/hausenism/1game-texas-holdem.svg?style=flat-square)](https://github.com/hausenism/1game-texas-holdem)

## Installation
    npm i 1game-texas-holdem --save

## Usage
### import the library
```javascript
var th = require('1game-texas-holdem');
```
### starts a sample game
```javascript
// sample game supports 0-11 players
var numOfPlayers = 5;
// API - `sample`
var new_sample = th.sample(numOfPlayers);
// reveal the Board
// sample game stores the Board as an array of 5 Cards.
var board = new_sample.board;
console.log('The Board: ', board);
// reveal the players' Hands
// sample game stores the players' Hands in a two-dimensional array.
var hands = new_sample.hands;
console.log('The Hands: ', hands);
// reveal the 5th Player's Hands
var playerIndex = 4;
var pHands = [ hands[0][playerIndex], hands[1][playerIndex] ];
console.log('The 5th Player\'s Hands: ', pHands);
```
### counting
```javascript
// after you retrieve the Hands and the Board.
// API - `rule` -> `count`
var input = pHands.concat(board);
var output = th.rule.count(input);
// show what the player hits
console.log(output.rank);
// show the related indexs of the `best` five cards.
console.log(output.ix);
// construct the value string
var val = th.rule.value(input, output);
console.log(val);
```

## API
### poker
* SuitNames (Suits' Names)
* StSuitNames   (ShortNames for SuitNames)
* RankNames (Ranks' Names)
* StRankNames   (ShortNames for RankNames)
* Suits (4 Suits)
* Ranks (13 Ranks from Ace to Two)
* Deck  (52 Cards in initial order)
* Card  (Card prototype)
* Rank  (Rank prototype)

### rule
* count (5 to 7 card hands evaluation)
* rankings (Names for Hand Ranks)
* value

### sample
    a simple game structure