Outrun game with Google Gemini AI integrated into it.
The source code of the game Gemini Outrun is available in Source Code.
pip install gemini_outrun
Pre-requisites:
- Python installed in your device.
- .env file in the same directory as <GEMINI_OUTRUN_DIRECTORY> and has the value of GEMINI_API_KEY.
cd <GEMINI_OUTRUN_DIRECTORY>
python gemini_outrun.py
Note: Replace <GEMINI_OUTRUN_DIRECTORY> with the path to the directory of the game Gemini Outrun.
Then, the game will start like as follows.
Press "UP" key to accelerate, "LEFT" key to move right, and "RIGHT" key to move left.
