2048-cli


توضیحات

A small clone of 2048 for terminal, and also the implementation of an A.I. for it
ویژگی مقدار
سیستم عامل -
نام فایل 2048-cli-1.0.3
نام 2048-cli
نسخه کتابخانه 1.0.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده gbPagano <guilhermebpagano@gmail.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/2048-cli/
مجوز -
# 2048 cli A small clone of [2048](https://play2048.co/). In it, the player moves numbered blocks in a 4x4 grid, combining them to create a block with the number 2048. The challenge lies in the strategy to avoid running out of moves possible. The game ends when the grid is full and there are no more combinations available In this project, I also try to develop an A.I. using the Monte Carlo method to try to achieve the best possible score. ## Installation Install with pip or your favorite PyPI package manager ```bash $ pipx install 2048-cli ``` Then run the following command in the terminal ```bash $ 2048-cli ``` ## Modes ### Single Player In single player mode, you command the moves with the aim of achieving the highest possible score. <div align="center"> ![menu](./assets/menu.png) </div> ### AI Playing In AI game mode, moves will be generated using a Monte Carlo search algorithm. <div align="center"> ![montecarlo](./assets/montecarlo.png) </div>


نیازمندی

مقدار نام
- numpy>=1.23.3
- click>=8.1.3
- rich>=13.7.0
- rich-menu>=0.1.4
- maturin>=1.4.0


زبان مورد نیاز

مقدار نام
>=3.10 Python


نحوه نصب


نصب پکیج whl 2048-cli-1.0.3:

    pip install 2048-cli.whl


نصب پکیج tar.gz 2048-cli-1.0.3:

    pip install 2048-cli.tar.gz