Skip to content

KerbalBoy/more-or-less

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

More or less

English

Overview

This project calculates the optimal guesses for more or less games. It supports numbers, uppercase and lowercase letters, and symbols.

Dependencies

This project depends on python 3. Download python3 here

Download

Go to Releases and download the most recent main.py file to a directory of your choosing.

Use

Navigate to the directory you downloaded the main.py file to. Open a terminal and type python main.py to run the file.

Type in the characters the game of more or less uses, in ascending order, all as one word. For a numerical game this would be 0123456789. For an alphabetical game, this might be abcdefghijklmnopqrstuvwxyz or aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ etc.

Type in the smallest possible answer for this game. For the examples above, this would be 00000 or aaaaa.

Type in the largest possible answer for this game. For the examples above, this would be 99999, zzzzz or ZZZZZ.

The program will now return the optimised guess you should use. If the true answer is more than this guess, type m. If it is lower, type l.

Type n for a new game, or x to close the program.

Français

Vue d'ensemble

Ce projet calcule les suppositions optimales pour les jeux de plus ou de moins. Il supporte les nombres, les lettres majuscules et minuscules, et les symboles.

Dépendances

Ce projet dépend de python 3. Téléchargez python3 ici

Téléchargement

Allez sur Releases et téléchargez le fichier main.py le plus récent dans un répertoire de votre choix.

Utiliser

Allez dans le répertoire dans lequel vous avez téléchargé le fichier main.py. Ouvrez un terminal et tapez python main.py pour exécuter le fichier.

Tapez les caractères que le jeu de plus ou moins utilise, dans l'ordre croissant, tous en un seul mot. Pour un jeu numérique, ce serait 0123456789. Pour un jeu alphabétique, cela pourrait être abcdefghijklmnopqrstuvwxyz ou aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYz etc.

Tapez la plus petite réponse possible pour ce jeu. Dans les exemples ci-dessus, il s'agit de 00000 ou aaaa.

Tapez la plus grande réponse possible pour ce jeu. Pour les exemples ci-dessus, il s'agit de 99999, zzzzz ou ZZZZZ.

Le programme vous renvoie alors la réponse optimisée que vous devez utiliser. Si la vraie réponse est supérieure à cette estimation, tapez m. Si elle est inférieure, tapez l.

Tapez n pour une nouvelle partie, ou x pour fermer le programme.

About

Calculates optimal guesses for more or less games

Resources

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages