<commit_before>package main.java.logic.data;


import main.java.logic.data.Continent;
import main.java.logic.data.Country;
import main.java.logic.data.Player;

import java.awt.*;
import java.util.*;

/**
 * @author <NAME>, <NAME>, <NAME>
 *
 * Dient zur Verwaltung der Karte für ein Spiel
 */
public class Map  {


    /**
     * Beinhaltet alle Länder, für die Karte
     */
    private final ArrayList<Country> countries = new ArrayList<Country>();

    /**
     * Beinhaltet alle Kontinente für die Karte
     */
    private final ArrayList<Continent> continents = new ArrayList<Continent>();

    /**
     * Erstellt eine neue Standard-Karte
     */
    public Map() {

        //Kontinente erzeugen
        Continent northAmerica  = new Continent("Nord Amerika", 5);
        Continent southAmerica  = new Continent("Süd Amerika", 2);
        Continent europe        = new Continent("Europa", 5);
        Continent asia          = new Continent("Asien", 7);
        Continent afrika        = new Continent("Afrika", 3);
        Continent australia     = new Continent("Australien", 2);

        this.continents.add(northAmerica);
        this.continents.add(southAmerica);
        this.continents.add(asia);
        this.continents.add(afrika);
        this.continents.add(australia);


        //Länder zuweisen
        this.countries.add(new Country("Alaska", northAmerica,                  new Color(255,55,0)));
        this.countries.add(new Country("Nordwest-Territorium", northAmerica,    new Color(255,222,111)));
        this.countries.add(new Country("Alberta", northAmerica,                 new Color(150,0,222)));
        this.countries.add(new Country("Ontario", northAmerica,                 new Color(0,222,150)));
        this.countries.add(new Country("Quebec", northAmerica,                  new Color(222,111,150)));
        this.countries.add(new Country("Weststaaten", northAmerica,             new Color(222,0,222)));
        this.countries.add(new Country("Oststaaten", northAmerica,              new Color(222,111,222)));
        this.countries.add(new Country("Mittelamerika", northAmerica,           new Color(222,111,111)));
        this.countries.add(new Country("Hawaii", northAmerica,                  new Color(255,222,22)));
        this.countries.add(new Country("Nunavut", northAmerica,                 new Color(222,40,111)));
        
        this.countries.add(new Country("Venezuela", southAmerica,               new Color(111,111,222)));
        this.countries.add(new Country("Brasilien", southAmerica,               new Color(50,150,50)));
        this.countries.add(new Country("Peru", southAmerica,                    new Color(222,0,111)));
        this.countries.add(new Country("Falkland-Inseln", southAmerica,         new Color(50,150,150)));
        this.countries.add(new Country("Argentinien", southAmerica,             new Color(50,150,100)));
        
        this.countries.add(new Country("Grönland", europe,                      new Color(0,255,0)));
        this.countries.add(new Country("Island", europe,                        new Color(22,255,123)));
        this.countries.add(new Country("Großbritannien", europe,                new Color(22,111,222)));
        this.countries.add(new Country("Skandinavien", europe,                  new Color(50,120,120)));
        this.countries.add(new Country("Mitteleuropa", europe,                  new Color(255,111,137)));
        this.countries.add(new Country("Westeuropa", europe,                    new Color(0,255,199)));
        this.countries.add(new Country("Südeuropa", europe,                     new Color(0,0,0)));
        this.countries.add(new Country("Ukraine", europe,                       new Color(255,255,0)));
        this.countries.add(new Country("Svalbard", europe,                      new Color(50,60,120)));
        
        this.countries.add(new Country("Afghanistan", asia,                     new Color(255,200,0)));
        this.countries.add(new Country("Ural", asia,                            new Color(105,8,90)));
        this.countries.add(new Country("Sibirien", asia,                        new Color(100,0,0)));
        this.countries.add(new Country("Irrutsk", asia,                         new Color(0,0,100)));
        this.countries.add(new Country("Jakutsk", asia,                         new Color(0,100,0)));
        this.countries.add(new Country("Kamtschatka", asia,                     new Color(0,158,224)));
        this.countries.add(new Country("Mongolei", asia,                        new Color(234,105,160)));
        this.countries.add(new Country("Japan", asia,                           new Color(226,0,122)));
        this.countries.add(new Country("China", asia,                           new Color(255,0,0)));
        this.countries.add(new Country("Indien", asia,                          new Color(171,140,188)));
        this.countries.add(new Country("Siam", asia,                            new Color(151,191,13)));
        this.countries.add(new Country("Mittlerer-Osten", asia,                 new Color(0,255,255)));
        
        this.countries.add(new Country("Ägypten", afrika,                       new Color(200,100,100)));
        this.countries.add(new Country("Ostafrika", afrika,                     new Color(100,200,100)));
        this.countries.add(new Country("Nordwestafrika", afrika,                new Color(50,150,200)));
        this.countries.add(new Country("Südafrika", afrika,                     new Color(0,200,200)));
        this.countries.add(new Country("Madagaskar", afrika,                    new Color(0,200,0)));
        this.countries.add(new Country("Kongo", afrika,                         new Color(50,100,200)));<commit_msg>Farbcode Südeuropa hinzugefügt<commit_after>package main.java.logic.data;


import main.java.logic.data.Continent;
import main.java.logic.data.Country;
import main.java.logic.data.Player;

import java.awt.*;
import java.util.*;

/**
 * @author <NAME>, <NAME>, <NAME>
 *
 * Dient zur Verwaltung der Karte für ein Spiel
 */
public class Map  {


    /**
     * Beinhaltet alle Länder, für die Karte
     */
    private final ArrayList<Country> countries = new ArrayList<Country>();

    /**
     * Beinhaltet alle Kontinente für die Karte
     */
    private final ArrayList<Continent> continents = new ArrayList<Continent>();

    /**
     * Erstellt eine neue Standard-Karte
     */
    public Map() {

        //Kontinente erzeugen
        Continent northAmerica  = new Continent("Nord Amerika", 5);
        Continent southAmerica  = new Continent("Süd Amerika", 2);
        Continent europe        = new Continent("Europa", 5);
        Continent asia          = new Continent("Asien", 7);
        Continent afrika        = new Continent("Afrika", 3);
        Continent australia     = new Continent("Australien", 2);

        this.continents.add(northAmerica);
        this.continents.add(southAmerica);
        this.continents.add(asia);
        this.continents.add(afrika);
        this.continents.add(australia);


        //Länder zuweisen
        this.countries.add(new Country("Alaska", northAmerica,                  new Color(255,55,0)));
        this.countries.add(new Country("Nordwest-Territorium", northAmerica,    new Color(255,222,111)));
        this.countries.add(new Country("Alberta", northAmerica,                 new Color(150,0,222)));
        this.countries.add(new Country("Ontario", northAmerica,                 new Color(0,222,150)));
        this.countries.add(new Country("Quebec", northAmerica,                  new Color(222,111,150)));
        this.countries.add(new Country("Weststaaten", northAmerica,             new Color(222,0,222)));
        this.countries.add(new Country("Oststaaten", northAmerica,              new Color(222,111,222)));
        this.countries.add(new Country("Mittelamerika", northAmerica,           new Color(222,111,111)));
        this.countries.add(new Country("Hawaii", northAmerica,                  new Color(255,222,22)));
        this.countries.add(new Country("Nunavut", northAmerica,                 new Color(222,40,111)));
        
        this.countries.add(new Country("Venezuela", southAmerica,               new Color(111,111,222)));
        this.countries.add(new Country("Brasilien", southAmerica,               new Color(50,150,50)));
        this.countries.add(new Country("Peru", southAmerica,                    new Color(222,0,111)));
        this.countries.add(new Country("Falkland-Inseln", southAmerica,         new Color(50,150,150)));
        this.countries.add(new Country("Argentinien", southAmerica,             new Color(50,150,100)));
        
        this.countries.add(new Country("Grönland", europe,                      new Color(0,255,0)));
        this.countries.add(new Country("Island", europe,                        new Color(22,255,123)));
        this.countries.add(new Country("Großbritannien", europe,                new Color(22,111,222)));
        this.countries.add(new Country("Skandinavien", europe,                  new Color(50,120,120)));
        this.countries.add(new Country("Mitteleuropa", europe,                  new Color(255,111,137)));
        this.countries.add(new Country("Westeuropa", europe,                    new Color(0,255,199)));
        this.countries.add(new Country("Südeuropa", europe,                     new Color(30,99,255)));
        this.countries.add(new Country("Ukraine", europe,                       new Color(255,255,0)));
        this.countries.add(new Country("Svalbard", europe,                      new Color(50,60,120)));
        
        this.countries.add(new Country("Afghanistan", asia,                     new Color(255,200,0)));
        this.countries.add(new Country("Ural", asia,                            new Color(105,8,90)));
        this.countries.add(new Country("Sibirien", asia,                        new Color(100,0,0)));
        this.countries.add(new Country("Irrutsk", asia,                         new Color(0,0,100)));
        this.countries.add(new Country("Jakutsk", asia,                         new Color(0,100,0)));
        this.countries.add(new Country("Kamtschatka", asia,                     new Color(0,158,224)));
        this.countries.add(new Country("Mongolei", asia,                        new Color(234,105,160)));
        this.countries.add(new Country("Japan", asia,                           new Color(226,0,122)));
        this.countries.add(new Country("China", asia,                           new Color(255,0,0)));
        this.countries.add(new Country("Indien", asia,                          new Color(171,140,188)));
        this.countries.add(new Country("Siam", asia,                            new Color(151,191,13)));
        this.countries.add(new Country("Mittlerer-Osten", asia,                 new Color(0,255,255)));
        
        this.countries.add(new Country("Ägypten", afrika,                       new Color(200,100,100)));
        this.countries.add(new Country("Ostafrika", afrika,                     new Color(100,200,100)));
        this.countries.add(new Country("Nordwestafrika", afrika,                new Color(50,150,200)));
        this.countries.add(new Country("Südafrika", afrika,                     new Color(0,200,200)));
        this.countries.add(new Country("Madagaskar", afrika,                    new Color(0,200,0)));
        this.countries.add(new Country("Kongo", afrika,                         new Color(50,100,200)));
{'fraction_non_alphanumeric': 0.1374576418455122, 'fraction_numerical': 0.05456599183247893, 'mean_word_length': 2.1664374140302614, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5615343', 'n_tokens_mistral': 3763, 'n_tokens_neox': 3295, 'n_words': 617}