Metadata-Version: 2.1
Name: tuinty-forpy-eight
Version: 1.2
Summary: A tui implementation of the game "2048", made with textual
Home-page: https://github.com/TotalyEnglizLitrate/tuinty-forpy-eight
Author: TotalyEnglizLitrate
Description-Content-Type: text/markdown
Requires-Dist: textual >=0.39.0

[![Made with Textual 0.41.0](https://img.shields.io/badge/Made%20with-Textual-blue)](https://github.com/Textualize/textual)

## Why?
I made this over the course of a week to test out the features of textual, and felt like sharing it.

## Installation

1. Install the script and associated files:
    ```
    pip install tuinty-forpy-eight
    ```

2. Launch the game by running `2048` in a terminal of your choice

3. Infinite fun, at your terminal!

## Customizing Colour Scheme

1. Background
    add the rgb values of the background colour you want along with the 2048 command
    e.g 2048 -bg[\--background] 0 0 0
    it is optional and defaults to (143, 0, 255)

2. Background Opacity
    supply the opacity as a float between 0 and 1
    e.g 2048 -op[\--opacity] 0.2
    it is optional and defaults to 0.13

3. Tile colour
    add the rgb values of the tile colour you want along with the 2048 command
    e.g 2048 -bg[\--background] 0 0 0
    it is optional and defaults to (237, 115, 115)

    The above arguments can be used in combination

## How to

- For instructions on how to play, bring up the help screen by pressing "?" or the F1 key when in the game
