Skip to main content

générateur de mots mêlés

Project description

This is a word crossing game generator pip install motsmeles

Usage

To use it, just import the library

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()

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

motsmeles-3.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

motsmeles-3.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file motsmeles-3.1.0.tar.gz.

File metadata

  • Download URL: motsmeles-3.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/21.6.0

File hashes

Hashes for motsmeles-3.1.0.tar.gz
Algorithm Hash digest
SHA256 482689813bde7b78174bb10a3b11c28fa9441f0a81382a1ccf0713577d8a1a86
MD5 56a70a7fb2e60dad208372cffe131153
BLAKE2b-256 d5c5a3af5f4d6011974a15080979048955efd76094571ec95f994be60127d1b1

See more details on using hashes here.

File details

Details for the file motsmeles-3.1.0-py3-none-any.whl.

File metadata

  • Download URL: motsmeles-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/21.6.0

File hashes

Hashes for motsmeles-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c23143db9ae62c40e340312616fb91b64f014219d68448c7459af5fa72f00cf4
MD5 4d7d5608c684b53e35ce6d67063d3e91
BLAKE2b-256 ff4a5671426534f9e2d2d6cb0984fcdf230ad9166ba1a8a37b675bc0fac51a9b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page