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.0.0.tar.gz (3.0 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.0.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: motsmeles-3.0.0.tar.gz
  • Upload date:
  • Size: 3.0 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.0.0.tar.gz
Algorithm Hash digest
SHA256 2d0299fa9f08b6e1be2069b98388005f86ee897caed1c9a0c2a978feb30c2917
MD5 114fd51f6f49d90d5abac3811c92db5f
BLAKE2b-256 20a3ecd29ca716ccb6c559f3447eebbac4779cc75e24083895020ab76a81f871

See more details on using hashes here.

File details

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

File metadata

  • Download URL: motsmeles-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ca6c06929d563d12bdf161a7ae5b6b79bda054c9cdf090f1a78aa954579dc6f
MD5 2781354349d3f362ff219c5c1532376b
BLAKE2b-256 6be557bdf11ae84ecb5e5d1e14d1ccf72734ce2c02ef8f029179abb82c2d9839

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