Catalog PyPI
PACKAGE EXPLORERView in registry

2048-cli

PyPI

A small clone of 2048 for terminal, and also the implementation of an A.I. for it

Versions collected1
Direct dependencies5From release 1.0.3
Last observed20 Oct, 15:20 UTC

README

Version 1.0.3 documentation

2048 cli

A small clone of 2048. 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

$ pipx install 2048-cli

Then run the following command in the terminal

$ 2048-cli

Modes

Single Player

In single player mode, you command the moves with the aim of achieving the highest possible score.

menu

AI Playing

In AI game mode, moves will be generated using a Monte Carlo search algorithm.

montecarlo

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.32 Jul 20245

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
gbpagano/2048-cli

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 15:20 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:b70673e038bff3ec05711e9584bf7b304209eadde1614478e6136bf44a3c92da