This package contains implementation of a puzzle game on command-line interface with Google Gemini AI integrated into it.
Project description
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.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file gemini_match_word_puzzle-1.tar.gz
.
File metadata
- Download URL: gemini_match_word_puzzle-1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a70b39781fce2890193a57f8236985af4192a28bff2f14528a91b1464205ec89 |
|
MD5 | 93e9dac9d8d9e4fd39ae0526f127d318 |
|
BLAKE2b-256 | 4f0782830ae2785845f0a4563d3ee3a3412cf60f29a811e19f7e916fdd6637f7 |
Provenance
File details
Details for the file gemini_match_word_puzzle-1-py3-none-any.whl
.
File metadata
- Download URL: gemini_match_word_puzzle-1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ade7412255a9112b904e287472347eea9515bf8436c60d3556471e92f0d0ab1b |
|
MD5 | 6d32c8dde1b0281dbc51c6151feab5e5 |
|
BLAKE2b-256 | d734c43d091b2d1a886414ef42b132fde322209c20520e05fc0ad4e834190bbd |