/Countries-Quiz-Game

Countries Quiz Game (CQG) is a console desktop application game about countries and continents

Primary LanguageJupyter Notebook

Countries Quiz Game

Countries Quiz Game (CQG) is a console desktop application game about countries and continents, consists of 2 parts

Modes

Practice mode (The Quiz)

  • Questions about countries and continents (e.g. number of countries in a continent, where is a country, what is the capital of a country, number of languages in a country or continent, etc)

Learn mode

  • continents statistics:
    • Display statistics about the continent (e.g. number of countries, official languages, most spoken languages, etc)
  • countries information : languages information about the country (e.g. capital, official languages, its continent, etc)
    • Note: the application suggests the closest countries names if you misspelled it (e.g "ejypt" will suggest "Egypt", or "irab" will suggest "Iran and Iraq") then you choose the country that you want.

Notes

  • There are 2 directories:
  • The application data is gathered from affairscloud site using python requests and beautiful soup 4 libraries and saved as '.csv' file for each continent using python Pandas library

Run

Prerequisites

  • python3 installed
  • numpy
  • pandas
  • Use the package manager pip to install numpy, pandas if it is not installed.
pip install numpy pandas

Application

  • open terminal in Countries Quiz Game/console directory then run the application
python main.py

Screenshots

main

p mode

q3

q5

score

answers

new mode

learning mode

contentes

africa

learning mode

enter country name

egypt

irap