module FontTiles

let create background foreground =
    [('\u0000',CharacterPatterns.character0);
    ('\u0001',CharacterPatterns.character1);
    ('\u0002',CharacterPatterns.character2);
    ('\u0003',CharacterPatterns.character3);
    ('\u0004',CharacterPatterns.character4);
    ('\u0005',CharacterPatterns.character5);
    ('\u0006',CharacterPatterns.character6);
    ('\u0007',CharacterPatterns.character7);
    ('\u0008',CharacterPatterns.character8);
    ('\u0009',CharacterPatterns.character9);
    ('\u000A',CharacterPatterns.character10);
    ('\u000B',CharacterPatterns.character11);
    ('\u000C',CharacterPatterns.character12);
    ('\u000D',CharacterPatterns.character13);
    ('\u000E',CharacterPatterns.character14);
    ('\u000F',CharacterPatterns.character15);
    ('\u0010',CharacterPatterns.character6);
    ('\u0011',CharacterPatterns.character17);
    ('\u0012',CharacterPatterns.character18);
    ('\u0013',CharacterPatterns.character19);
    ('\u0014',CharacterPatterns.character20);
    ('\u0015',CharacterPatterns.character21);
    ('\u0016',CharacterPatterns.character22);
    ('\u0017',CharacterPatterns.character23);
    ('\u0018',CharacterPatterns.character24);
    ('\u0019',CharacterPatterns.character25);
    ('\u001A',CharacterPatterns.character26);
    ('\u001B',CharacterPatterns.character27);
    ('\u001C',CharacterPatterns.character28);
    ('\u001D',CharacterPatterns.character29);
    ('\u001E',CharacterPatterns.character30);
    ('\u001F',CharacterPatterns.character31);
    ('\u0020',CharacterPatterns.character32);
    ('\u0021',CharacterPatterns.character33);
    ('\u0022',CharacterPatterns.character34);
    ('\u0023',CharacterPatterns.character35);
    ('\u0024',CharacterPatterns.character36);
    ('\u0025',CharacterPatterns.character37);
    ('\u0026',CharacterPatterns.character38);
    ('\u0027',CharacterPatterns.character39);
    ('\u0028',CharacterPatterns.character40);
    ('\u0029',CharacterPatterns.character41);
    ('\u002A',CharacterPatterns.character42);
    ('\u002B',CharacterPatterns.character43);
    ('\u002C',CharacterPatterns.character44);
    ('\u002D',CharacterPatterns.character45);
    ('\u002E',CharacterPatterns.character46);
    ('\u002F',CharacterPatterns.character47);
    ('\u0030',CharacterPatterns.character48);
    ('\u0031',CharacterPatterns.character49);
    ('\u0032',CharacterPatterns.character50);
    ('\u0033',CharacterPatterns.character51);
    ('\u0034',CharacterPatterns.character52);
    ('\u0035',CharacterPatterns.character53);
    ('\u0036',CharacterPatterns.character54);
    ('\u0037',CharacterPatterns.character55);
    ('\u0038',CharacterPatterns.character56);
    ('\u0039',CharacterPatterns.character57);
    ('\u003A',CharacterPatterns.character58);
    ('\u003B',CharacterPatterns.character59);
    ('\u003C',CharacterPatterns.character60);
    ('\u003D',CharacterPatterns.character61);
    ('\u003E',CharacterPatterns.character62);
    ('\u003F',CharacterPatterns.character63);
    ('\u0040',CharacterPatterns.character64);
    ('\u0041',CharacterPatterns.character65);
    ('\u0042',CharacterPatterns.character66);
    ('\u0043',CharacterPatterns.character67);
    ('\u0044',CharacterPatterns.character68);
    ('\u0045',CharacterPatterns.character69);
    ('\u0046',CharacterPatterns.character70);
    ('\u0047',CharacterPatterns.character71);
    ('\u0048',CharacterPatterns.character72);
    ('\u0049',CharacterPatterns.character73);
    ('\u004A',CharacterPatterns.character74);
    ('\u004B',CharacterPatterns.character75);
    ('\u004C',CharacterPatterns.character76);
    ('\u004D',CharacterPatterns.character77);
    ('\u004E',CharacterPatterns.character78);
    ('\u004F',CharacterPatterns.character79);
    ('\u0050',CharacterPatterns.character80);
    ('\u0051',CharacterPatterns.character81);
    ('\u0052',CharacterPatterns.character82);
    ('\u0053',CharacterPatterns.character83);
    ('\u0054',CharacterPatterns.character84);
    ('\u0055',CharacterPatterns.character85);
    ('\u0056',CharacterPatterns.character86);
    ('\u0057',CharacterPatterns.character87);
    ('\u0058',CharacterPatterns.character88);
    ('\u0059',CharacterPatterns.character89);
    ('\u005A',CharacterPatterns.character90);
    ('\u005B',CharacterPatterns.character91);
    ('\u005C',CharacterPatterns.character92);
    ('\u005D',CharacterPatterns.character93);
    ('\u005E',CharacterPatterns.character94);
    ('\u005F',CharacterPatterns.character95);
    ('\u0060',CharacterPatterns.character96);
    ('\u0061',CharacterPatterns.character97);
    ('\u0062',CharacterPatterns.character98);
    ('\u0063',CharacterPatterns.character99);
    ('\u0064',CharacterPatterns.character100);
    ('\u0065',CharacterPatterns.character101);
    ('\u0066',CharacterPatterns.character102);
    ('\u0067',CharacterPatterns.character103);
    ('\u0068',CharacterPatterns.character104);
    ('\u0069',CharacterPatterns.character105);
    ('\u006A',CharacterPatterns.character106);
    ('\u006B',CharacterPatterns.character107);
    ('\u006C',CharacterPatterns.character108);
    ('\u006D',CharacterPatterns.character109);
    ('\u006E',CharacterPatterns.character110);
    ('\u006F',CharacterPatterns.character111);
    ('\u0070',CharacterPatterns.character112);
    ('\u0071',CharacterPatterns.character113);
    ('\u0072',CharacterPatterns.character114);
    ('\u0073',CharacterPatterns.character115);
    ('\u0074',CharacterPatterns.character116);
    ('\u0075',CharacterPatterns.character117);
    ('\u0076',CharacterPatterns.character118);
    ('\u0077',CharacterPatterns.character119);
    ('\u0078',CharacterPatterns.character120);
    ('\u0079',CharacterPatterns.character121);
    ('\u007A',CharacterPatterns.character122);
    ('\u007B',CharacterPatterns.character123);
    ('\u007C',CharacterPatterns.character124);
    ('\u007D',CharacterPatterns.character125);
    ('\u007E',CharacterPatterns.character126);
    ('\u007F',CharacterPatterns.character127);
    ('\u0080',CharacterPatterns.character128);
    ('\u0081',CharacterPatterns.character129);
    ('\u0082',CharacterPatterns.character130);
    ('\u0083',CharacterPatterns.character131);
    ('\u0084',CharacterPatterns.character132);
    ('\u0085',CharacterPatterns.character133);
    ('\u0086',CharacterPatterns.character134);
    ('\u0087',CharacterPatterns.character135);
    ('\u0088',CharacterPatterns.character136);
    ('\u0089',CharacterPatterns.character137);
    ('\u008A',CharacterPatterns.character138);
    ('\u008B',CharacterPatterns.character139);
    ('\u008C',CharacterPatterns.character140);
    ('\u008D',CharacterPatterns.character141);
    ('\u008E',CharacterPatterns.character142);
    ('\u008F',CharacterPatterns.character143);
    ('\u0090',CharacterPatterns.character144);
    ('\u0091',CharacterPatterns.character145);
    ('\u0092',CharacterPatterns.character146);
    ('\u0093',CharacterPatterns.character147);
    ('\u0094',CharacterPatterns.character148);
    ('\u0095',CharacterPatterns.character149);
    ('\u0096',CharacterPatterns.character150);
    ('\u0097',CharacterPatterns.character151);
    ('\u0098',CharacterPatterns.character152);
    ('\u0099',CharacterPatterns.character153);
    ('\u009A',CharacterPatterns.character154);
    ('\u009B',CharacterPatterns.character155);
    ('\u009C',CharacterPatterns.character156);
    ('\u009D',CharacterPatterns.character157);
    ('\u009E',CharacterPatterns.character158);
    ('\u009F',CharacterPatterns.character159);
    ('\u00A0',CharacterPatterns.character160);
    ('\u00A1',CharacterPatterns.character161);
    ('\u00A2',CharacterPatterns.character162);
    ('\u00A3',CharacterPatterns.character163);
    ('\u00A4',CharacterPatterns.character164);
    ('\u00A5',CharacterPatterns.character165);
    ('\u00A6',CharacterPatterns.character166);
    ('\u00A7',CharacterPatterns.character167);
    ('\u00A8',CharacterPatterns.character168);
    ('\u00A9',CharacterPatterns.character169);
    ('\u00AA',CharacterPatterns.character170);
    ('\u00AB',CharacterPatterns.character171);
    ('\u00AC',CharacterPatterns.character172);
    ('\u00AD',CharacterPatterns.character173);
    ('\u00AE',CharacterPatterns.character174);
    ('\u00AF',CharacterPatterns.character175);
    ('\u00B0',CharacterPatterns.character176);
    ('\u00B1',CharacterPatterns.character177);
    ('\u00B2',CharacterPatterns.character178);
    ('\u00B3',CharacterPatterns.character179);
    ('\u00B4',CharacterPatterns.character180);
    ('\u00B5',CharacterPatterns.character181);
    ('\u00B6',CharacterPatterns.character182);
    ('\u00B7',CharacterPatterns.character183);
    ('\u00B8',CharacterPatterns.character184);
    ('\u00B9',CharacterPatterns.character185);
    ('\u00BA',CharacterPatterns.character186);
    ('\u00BB',CharacterPatterns.character187);
    ('\u00BC',CharacterPatterns.character188);
    ('\u00BD',CharacterPatterns.character189);
    ('\u00BE',CharacterPatterns.character190);
    ('\u00BF',CharacterPatterns.character191);
    ('\u00C0',CharacterPatterns.character192);
    ('\u00C1',CharacterPatterns.character193);
    ('\u00C2',CharacterPatterns.character194);
    ('\u00C3',CharacterPatterns.character195);
    ('\u00C4',CharacterPatterns.character196);
    ('\u00C5',CharacterPatterns.character197);
    ('\u00C6',CharacterPatterns.character198);
    ('\u00C7',CharacterPatterns.character199);
    ('\u00C8',CharacterPatterns.character200);
    ('\u00C9',CharacterPatterns.character201);
    ('\u00CA',CharacterPatterns.character202);
    ('\u00CB',CharacterPatterns.character203);
    ('\u00CC',CharacterPatterns.character204);
    ('\u00CD',CharacterPatterns.character205);
    ('\u00CE',CharacterPatterns.character206);
    ('\u00CF',CharacterPatterns.character207);
    ('\u00D0',CharacterPatterns.character208);
    ('\u00D1',CharacterPatterns.character209);
    ('\u00D2',CharacterPatterns.character210);
    ('\u00D3',CharacterPatterns.character211);
    ('\u00D4',CharacterPatterns.character212);
    ('\u00D5',CharacterPatterns.character213);
    ('\u00D6',CharacterPatterns.character214);
    ('\u00D7',CharacterPatterns.character215);
    ('\u00D8',CharacterPatterns.character216);
    ('\u00D9',CharacterPatterns.character217);
    ('\u00DA',CharacterPatterns.character218);
    ('\u00DB',CharacterPatterns.character219);
    ('\u00DC',CharacterPatterns.character220);
    ('\u00DD',CharacterPatterns.character221);
    ('\u00DE',CharacterPatterns.character222);
    ('\u00DF',CharacterPatterns.character223);
    ('\u00E0',CharacterPatterns.character224);
    ('\u00E1',CharacterPatterns.character225);
    ('\u00E2',CharacterPatterns.character226);
    ('\u00E3',CharacterPatterns.character227);
    ('\u00E4',CharacterPatterns.character228);
    ('\u00E5',CharacterPatterns.character229);
    ('\u00E6',CharacterPatterns.character230);
    ('\u00E7',CharacterPatterns.character231);
    ('\u00E8',CharacterPatterns.character232);
    ('\u00E9',CharacterPatterns.character233);
    ('\u00EA',CharacterPatterns.character234);
    ('\u00EB',CharacterPatterns.character235);
    ('\u00EC',CharacterPatterns.character236);
    ('\u00ED',CharacterPatterns.character237);
    ('\u00EE',CharacterPatterns.character238);
    ('\u00EF',CharacterPatterns.character239);
    ('\u00F0',CharacterPatterns.character240);
    ('\u00F1',CharacterPatterns.character241);
    ('\u00F2',CharacterPatterns.character242);
    ('\u00F3',CharacterPatterns.character243);
    ('\u00F4',CharacterPatterns.character244);
    ('\u00F5',CharacterPatterns.character245);
    ('\u00F6',CharacterPatterns.character246);
    ('\u00F7',CharacterPatterns.character247);
    ('\u00F8',CharacterPatterns.character248);
    ('\u00F9',CharacterPatterns.character249);
    ('\u00FA',CharacterPatterns.character250);
    ('\u00FB',CharacterPatterns.character251);
    ('\u00FC',CharacterPatterns.character252);
    ('\u00FD',CharacterPatterns.character253);
    ('\u00FE',CharacterPatterns.character254);
    ('\u00FF',CharacterPatterns.character255)]
    |> Seq.map (fun (k,p) -> (k, new Tile.Tile(p,background,foreground)))
    |> Map.ofSeq


