Skip to content

narodr/heptasolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

es

Play or solve a heptagram

Starting from seven letters arranged in a hexagonal shape, with one of them in the central position, the objective is to form the maximum number of words with at least three letters. You can repeat letters, but you must always include the one in the central position. Proper nouns, plurals, and conjugated verb forms (only infinitives) are not allowed.

Play a game

You can play a game through the terminal by running the play command. Optionally you can specify the center or the letters you want to play.

heptasolver play [-l abcdefg] [-c a]

Install

Clone the repo and (optionally) create a virtual environment. Then install the package:

pip install .

For developers, install it in editable mode:

pip install -e .

and execute tests:

pytest

Extra: Solve

Warning

This command use pyautogui to automatically write words in the selected window.

To solve a heptagram, execute

heptasolver solve --letras abdcefg --centro a

then move to the target window.

About

A CLI game

Resources

Stars

Watchers

Forks

Languages