Skip to content

A fun and educational game where you try to guess the Brazilian state based on its acronym displayed on a map image. Test your knowledge of Brazilian geography and see how many states you can recognize!

License

Notifications You must be signed in to change notification settings

hazardous-sun/guess-the-state

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guess the State - A Brazilian State Quiz Game!

This is a fun and educational game where you try to guess the Brazilian state based on its acronym displayed on a map image. Test your knowledge of Brazilian geography and see how many states you can recognize! Features

  • Play multiple rounds with customizable difficulty.
  • Choose the number of answer options per round (3, 9, or all 27 states).
  • See an image of the state you're guessing.
  • Keep track of your score throughout the game.

Requirements

Installation

  1. Download or clone this repository.
  2. Install the EasyGUI library using pip:
pip install easygui

How to Play

  1. Open a terminal or command prompt and navigate to the directory containing the game files (main.py, game.py, states.json, and the imgs folder).
  2. Run the game using the following command:
python main.py
  1. Follow the on-screen instructions to choose the number of rounds and answer options per round.
  2. Try your best to guess the state acronym displayed on the map image!

Files

  • main.py: The main script that starts the game.
  • game.py: Contains the game logic and functionalities.
  • states.json: A JSON file containing the acronyms and full names of all Brazilian states.
  • imgs/: A directory containing image files (in JPG format) for each Brazilian state.

Contributing

We welcome contributions to improve this game! Feel free to fork the repository, make changes, and submit a pull request.

About

A fun and educational game where you try to guess the Brazilian state based on its acronym displayed on a map image. Test your knowledge of Brazilian geography and see how many states you can recognize!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages