Skip to main content

Word Search Puzzle Generator

Introduction

Generate a puzzle

All what you need is de define a list of words and provide the dimensions of the panel. Please make sure that the number and the length of the words fit the dimensions of the panel.

from word_search_puzzle.utils import display_panel
from word_search_puzzle.algorithms import create_panel

words = ['Cat', 'Bear', 'Tiger', 'Lion']

result = create_panel(height=5, width=5, words_value_list=words)

print('Attempts: {}'.format(result.get('attempts')))
print('Solution took: {} ms'.format(result.get('elapsed_time')))
display_panel(result.get('panel'))

# Output:
#   Attempts: 2
#   Solution took: 31 ms
#
#   l  w  m  e  r
#   i  w  c  e  x
#   o  v  g  a  q
#   n  i  n  i  t
#   t  b  e  a  r

Download files

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

Source Distribution

word-search-puzzle-0.3.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

word_search_puzzle-0.3-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file word-search-puzzle-0.3.tar.gz.

File metadata

  • Download URL: word-search-puzzle-0.3.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.1

File hashes

Hashes for word-search-puzzle-0.3.tar.gz
Algorithm Hash digest
SHA256 4dddc8214330b269e395dad2b3e086035ebeb8686f5bee6a8d60822e19adfaf0
MD5 1c6b07c31e1109ebe66a66b4542e44c5
BLAKE2b-256 3a926cc670b274c8ae1ca6e17307d86e16a332b39879e813f37db2f2fc64aac4

See more details on using hashes here.

File details

Details for the file word_search_puzzle-0.3-py3-none-any.whl.

File metadata

  • Download URL: word_search_puzzle-0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.1

File hashes

Hashes for word_search_puzzle-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7ed8fcf74091a8b5d3bde1c8b1ab2a50f906a8d8859c135c3d96f6532247f7e1
MD5 90c576201ff13cc5f9a506d35bc032a5
BLAKE2b-256 95a38e6ed8c9fece4a8f6f418bc71bb269107b7a9d988f41b01570f9f42b066a

See more details on using hashes here.

Release history Release notifications | RSS feed

2.0.1

2 files

2.0

3 files

1.12

2 files

1.11

2 files

1.10

2 files

1.9

2 files

1.8

2 files

1.7

2 files

1.6

2 files

1.5

2 files

1.4

2 files

1.3

2 files

1.2

2 files

1.1

2 files

1.0

2 files

0.6

2 files

0.4

2 files

This release

0.3 This release

2 files

Supported by

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