gemini_match_word_puzzle
Gemini Match Word Puzzle is a puzzle game on command-line interface with Google Gemini AI integrated into it.
Source Code
The source code of Gemini Match Word Puzzle is available in Source Code.
Installation
pip install gemini_match_word_puzzle
How to Play the Game?
Pre-requisites:
- Python installed in your device.
- .env file in the same directory as <GEMINI_MATCH_WORD_PUZZLE_DIRECTORY> and has the value of GEMINI_API_KEY.
cd <GEMINI_MATCH_WORD_PUZZLE_DIRECTORY>
python3 gemini_match_word_puzzle.py
Note: Replace <GEMINI_MATCH_WORD_PUZZLE_DIRECTORY> with the path to the directory of the game Gemini Match Word Puzzle.
Then, the game will start with something looking like in the screenshot below.
You will then be asked to input the following values.
- Temperature - between 0 and 1 inclusive
- Top P - between 0 and 1 inclusive
- Top K - at least 1
- Max output tokens - at least 1
The following screenshot shows what is displayed after inputting the mentioned values.
Next, you will enter the x and y coordinates of the two tiles you want to open. If the contents of both tiles match, both tiles will be opened. Once all the tiles in the board are opened, you're done with the puzzle and will be asked whether you want to continue playing the game or not.
Release files for gemini-match-word-puzzle 1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gemini_match_word_puzzle-1.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gemini_match_word_puzzle-1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / gemini_match_word_puzzle-1.tar.gz
| Download URL | gemini_match_word_puzzle-1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a70b39781fce2890193a57f8236985af4192a28bff2f14528a91b1464205ec89
|
|
BLAKE2b-256 checksum How to use checksums |
4f0782830ae2785845f0a4563d3ee3a3412cf60f29a811e19f7e916fdd6637f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.31.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4
|
Release files / gemini_match_word_puzzle-1-py3-none-any.whl
| Download URL | gemini_match_word_puzzle-1-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ade7412255a9112b904e287472347eea9515bf8436c60d3556471e92f0d0ab1b
|
|
BLAKE2b-256 checksum How to use checksums |
d734c43d091b2d1a886414ef42b132fde322209c20520e05fc0ad4e834190bbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.31.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4
|