générateur de mots mêlés
Project description
This is a word crossing game generator, install it with pip3 install motsmeles
Usage
To use it, just import the library
import motsmeles
game,answers=motsmeles.generate(
[
"PYTHON",
"JAVA",
"CPP",
"HTML",
"CSS",
"PHP",
"RUBY",
"SWIFT",
"PERL",
"RUST",
],
width = 10,
height = 10)
The game variable contain the grid and the words of the game, you can display it or save it in a file
print(game)
game.save("motsmeles.txt")
Solver
You can also load a game from a file
game = motsmeles.load("motsmeles.txt")
And then solve it
answers=game.solve()
print(answers)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file motsmeles-3.3.0.tar.gz.
File metadata
- Download URL: motsmeles-3.3.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d983d08a9974811f966826082fb2c8d54b7a55a9696912217b58aa484a833f08
|
|
| MD5 |
024614e8ec42d44308b732dceb877a6d
|
|
| BLAKE2b-256 |
42bcc89d64174ebe3ae88c8bacfee1e1c9e71dc58816a4ff4e2dd255f490b666
|
File details
Details for the file motsmeles-3.3.0-py3-none-any.whl.
File metadata
- Download URL: motsmeles-3.3.0-py3-none-any.whl
- Upload date:
- Size: 4.1 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c20d4437ce726feb3a5134e2907ec95769872f4a29a9ac03519f28f593dcd3a
|
|
| MD5 |
aac2d595ecb6b8b7712d0550913674a6
|
|
| BLAKE2b-256 |
13bf34ede4c499964bf45bd32df50fa46590d31d8e1e86accef9f9a088f2bf45
|