Random African country
The globe turns to Africa and lands on one of its 54 countries.
Spin to a country in Africa
?
54 countries in Africa, each as likely
- Capital:
Tap Spin or press Space. Drag the globe, tap a country.
Every spin draws the country first, then turns the globe to it. Tap any country on the globe to name it and see its capital.
- Free, no sign-up
- The result is drawn before anything moves
- Nothing leaves your browser
What it does
Tap Spin and the globe lands on a random African country, with its flag and capital. All 54 countries in Africa are in, from Algeria, the biggest, to the Seychelles, the smallest, and each has the same 1 in 54 chance. The country is drawn before the globe moves.
How to use it
- Tap Spin, or press Space. The globe whirls, ticks at every border and lands on a country.
- Pick a continent to spin only within it.
- Turn on No repeats to cross off each country until every one has come up.
- Drag the globe to turn it, and tap any country to see its name and capital.
What people use it for
School reports
Hand out 54 countries to a class with No repeats on, and nobody gets the same one.
Capitals quiz
Spin, cover the capital, and guess it. Then tap a neighbour on the globe and guess that one too.
Music and food
Spin for a country and find one song and one dish from it.
All 54 countries in Africa
Africa has more countries than any other continent: 54, all of them UN members. Six are island nations: Cape Verde, Comoros, Madagascar, Mauritius, São Tomé and Príncipe, and Seychelles. Western Sahara is drawn on the globe, but it is not on the list, so a spin never lands on it.
| Country | Capital |
|---|---|
| Algeria | Algiers |
| Angola | Luanda |
| Benin | Porto-Novo |
| Botswana | Gaborone |
| Burkina Faso | Ouagadougou |
| Burundi | Gitega |
| Cameroon | Yaoundé |
| Cape Verde | Praia |
| Central African Republic | Bangui |
| Chad | N'Djamena |
| Comoros | Moroni |
| Djibouti | Djibouti |
| DR Congo | Kinshasa |
| Egypt | Cairo |
| Equatorial Guinea | Malabo |
| Eritrea | Asmara |
| Eswatini | Lobamba |
| Ethiopia | Addis Ababa |
| Gabon | Libreville |
| Gambia | Banjul |
| Ghana | Accra |
| Guinea | Conakry |
| Guinea-Bissau | Bissau |
| Ivory Coast | Yamoussoukro |
| Kenya | Nairobi |
| Lesotho | Maseru |
| Liberia | Monrovia |
| Libya | Tripoli |
| Madagascar | Antananarivo |
| Malawi | Lilongwe |
| Mali | Bamako |
| Mauritania | Nouakchott |
| Mauritius | Port Louis |
| Morocco | Rabat |
| Mozambique | Maputo |
| Namibia | Windhoek |
| Niger | Niamey |
| Nigeria | Abuja |
| Republic of the Congo | Brazzaville |
| Rwanda | Kigali |
| São Tomé and Príncipe | São Tomé |
| Senegal | Dakar |
| Seychelles | Victoria |
| Sierra Leone | Freetown |
| Somalia | Mogadishu |
| South Africa | Pretoria |
| South Sudan | Juba |
| Sudan | Khartoum |
| Tanzania | Dodoma |
| Togo | Lomé |
| Tunisia | Tunis |
| Uganda | Kampala |
| Zambia | Lusaka |
| Zimbabwe | Harare |
How it picks
The way the app does it: the country first, the spin after.
- The country is drawn first. One number from
crypto.getRandomValuespicks one of the countries the filter allows, each with the same chance. Rejection sampling throws away the few raw numbers that would give some countries an edge. - Then the spin is worked out backwards. The globe winds up, turns east at least once all the way round, and slows down so the country stops in the middle. Then it pushes in until the whole country fills the glass: a big country gets a small zoom, a speck of an island the deepest one, with a ring round it.
- The ticks are only the show. Each border that crosses the sight in the middle ticks. The globe reads the borders as it turns and never steers by them.
- No repeats is a bag. With it on, every country that comes up is set aside until each one in the filter has had its turn. Then they all go back in.
Tested. In 195,000 test draws every country came up equally often (chi-square test), within each continent filter too. With No repeats, every country came up exactly once a round. And for all 195 countries, from random starting points, the spin always ended with the drawn country in the middle of the globe and all of its main body in view.
More random tools
Questions
How many countries are in Africa?
54, all members of the UN, the most of any continent. Western Sahara is drawn on the globe but is not on the list, so a spin never lands on it.
Which African countries are islands?
Six: Cape Verde, Comoros, Madagascar, Mauritius, São Tomé and Príncipe, and Seychelles. All but Madagascar are framed at the globe’s deepest zoom.
What is the biggest country in Africa?
Algeria, by area. When it comes up, the globe pushes in to about five times its size; a small country like Rwanda gets the deepest zoom, 24 times.
Take it with you
RandALL for iPhone has 25 tools in one app: wheels and teams, real 3D dice, random alarms, Finger Picker and more. It works offline.
Your first 24 hours are free, with every tool. After that, subscribe or buy the lifetime unlock once. Family Sharing included.
Get it on the App StoreiPhone only for now. These web tools are yours to keep using.
