GeoGlobe is an interactive geography-based guessing game where players try to identify the mystery country based on distance and directional hints. The game provides a visual map-based interface using Tkinter and Basemap in Python.
β
Guess the mystery country with real-time hints
β
Distance and direction feedback based on your guess
β
Beautiful world map visualization with color-coded clues
β
Randomized country selection for a new challenge every time
- The game selects a random mystery country.
- Type a country's name in the input box and Submit Guess.
- Get distance and direction hints to guide your next guess.
- Continue guessing until you find the correct country! π―
- If you can't find it, the game will reveal the correct answer.
git clone https://github.com/yourusername/GeoGlobe-Challenge.git
cd GeoGlobe-Challenge2οΈβ£ Install Dependencies Make sure you have Python 3.x installed. Then, run:
pip install -r requirements.txtAlternatively, install dependencies manually:
pip install matplotlib basemap numpy requests geopandas3οΈβ£ Run the Game python Globle.py
π¦ Dependencies
This project requires the following dependencies:
tkinter (GUI framework) matplotlib (for map visualization) mpl_toolkits.basemap (to render world maps) numpy (for calculations) requests (to fetch country data) geopandas (to manage geographical data) json (to handle country data) To install all dependencies in one command, run:
pip install matplotlib basemap numpy requests geopandasπ¨βπ» Contributing
Want to improve the GeoGlobe Challenge? Feel free to fork this repository, create a new branch, and submit a pull request! Contributions are always welcome.
π Credits
Created by Shaurya Agrawal GitHub: Cranberry7