Metadata-Version: 2.1
Name: motsmeles
Version: 3.1.0
Summary: générateur de mots mêlés
License: MIT
Author: RadoTheProgrammer
Author-email: rado@arazakar.com
Requires-Python: >=3.12,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: numpy (>=1.26.4,<2.0.0)
Requires-Dist: pandas (>=2.2.1,<3.0.0)
Description-Content-Type: text/markdown

 This is a word crossing game generator `pip install motsmeles`

# Usage

To use it, just import the library

```python
import motsmeles

grid,answers=motsmeles.generate(
    [
        "PYTHON",
        "JAVA",
        "CPP",
        "HTML",
        "CSS",
        "PHP",
        "RUBY",
        "SWIFT",
        "PERL",
        "RUST",
    ],
    width = 10, 
    height = 10)



```

The `grid` variable contain the grid of the game, it's a numpy array, display it using `motsmeles.print()` or save in a file with `motsmeles.save()`

```python

motsmeles.print(grid)
motsmeles.save(grid,file="motsmeles.txt")
```

# CLI Usage

You can also execute the cli version

```

motsmeles PYTHON JAVA CPP HTML CSS PHP RUBY SWIFT PERL RUST -W 10 -H 10
```

