domino-bot
v0.2.3
Published
This project is a TypeScript library designed to simulate a domino-playing bot. The bot supports different strategies for playing dominos, with the current implementation including a **basic strategy**. The bot makes moves based on the player's hand and t
Downloads
18
Readme
Domino Bot Library
This project is a TypeScript library designed to simulate a domino-playing bot. The bot supports different strategies for playing dominos, with the current implementation including a basic strategy. The bot makes moves based on the player's hand and the current state of the board.
Features
Basic Strategy: A simple algorithm that chooses the best tile to play based on current board state.
Support for Various Strategies: The library is designed to support multiple strategies, with placeholders for intermediate and advanced strategies.
Installation
To install the library, you can clone the repository and install the dependencies using npm
or yarn
:
# Clone the repository
git clone https://github.com/yourusername/domino-bot.git
# Install dependencies
cd domino-bot
npm install
# or
yarn install