- This project is a game to help you learn the states of Brazil.
- The goal is to correctly identify all the states on the map.
This project is from Day 25 of the course "100 Days of Code: The Complete Python Pro Bootcamp" by Angela Yu.
- The Brazil States Game uses Python's
turtle
graphics module to display a map of Brazil andpandas
to handle data. - The game prompts the user to input the names of Brazilian states and places the names on the map if they are correct.
- If the user types "Sair", the game ends and saves the states that were not guessed to a CSV file.
- Python
- turtle module
- pandas module
- Ensure you have the map image (
mapa-do-brasil.gif
) and the CSV file (26_estados_1_df.csv
) in the same directory as your script. - Run the script using Python:
python brasil.py
- The game window will open with the map of Brazil.
- Input the name of the states in the prompt that appears. If you wish to stop the game, type "Sair".
- If you type "Sair," a CSV file named
estados_para_aprender.csv
will be created with the names of the states you didn't guess correctly.