diff --git a/ProFontWindows-Bold.ttf b/ProFontWindows-Bold.ttf
new file mode 100644
index 0000000..8c1d56b
Binary files /dev/null and b/ProFontWindows-Bold.ttf differ
diff --git a/ProFontWindows.ttf b/ProFontWindows.ttf
new file mode 100644
index 0000000..b3d66b2
Binary files /dev/null and b/ProFontWindows.ttf differ
diff --git a/base64/checkmark.png.64 b/base64/checkmark.png.64
new file mode 100644
index 0000000..9224bfd
--- /dev/null
+++ b/base64/checkmark.png.64
@@ -0,0 +1 @@
+iVBORw0KGgoAAAANSUhEUgAAABUAAAAgCAYAAAD9oDOIAAAACXBIWXMAAACVAAAAlQGr+O8LAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAA0JJREFUSIml1l9oU1ccB/DvOTe2TSPae5ObP/1nervKiqBuDn0RfJuCID7YB58UHOxhqzLtg7S1HLD+QzGyMjaD4IsP4oOMTfBF8C9WQY2yMUS2JFubOJObpHFtbU3OPT5o60lMu+R6337f7+98uIeEEIKPeAbZt9tiiP/wmhb5XNZhBU3Hx6ApZHY+cERa52YqCAII/EztgoyxhizNrpOzZrTkfUsC52yjr0hqV5REPylBeeC3gYGjv9tGTWFunSLTZG6mgkCDeh8AbKGnGdNSNLVWztpEW94HNWwbHbfGe2M03iZnfuF/3M9OP7ON5pTcpgIK8zMFhSrU0fdzjQ9j3xkJmiy5ervVnvMUtbBtNI/8vjGMqXIWgC9yaPhUzDaaJuYGi4j5WYECN1fvyDs1ocPswMa/6dhqOQtaK0x1iT8sZzWhz5H+Ko2UU868whcZHDySsIVe6ulRTGKuE+R9psABjS+7Xb5bNfqoW98RpbFuOeu0gi/c9aVXrwnNkOyOl+SlImc69MjAwNEX5buO/qHeAwUyq5UXar37TH//sTQAnOzrc43SJ5/LfR3q0FRUb1V6AUeWZjZcd9zsKQmFgs2FL2cAHAaA9NLJPX8pUUPe6eDBZCttOVsJpc3cG/IL/39yWCQcEyK/fv7qyGyewUzJQQ88kf2MZSuiQ4fPjBq842F5kSf5VYyxxpOMeZ8rqc/krh51ULl6vRIIvPugvES/7BKNllzEaXzFa5jbkxjfFyfxgNwZ3PhHn1XPLYoaCf5Tl9X1h1xMkimaQ25LBpmNHMWSQ27hfnzwxIn8oujX4XDBL3w3aNk3bBrTXySVxBo5a0ADNOK+thA4jwKAXmg6bljGv3L5VHn26ThJLpczgxvxoPCdrwodPBJKtFotd+VygkwQAVFywAM18g1jk1WhABCA70cvvFMLLTvhFMuhXV0M/ABlLHTN4MFHCy13ciPaPOG8UBMKADrXf3XCKSota0KL7A+FXtWMtufqv1/JO5+W5y64LA9xX/k/sCK6d2Rk1iv8t0lZ1cmNPwMmvWgLBYAmRT9uiI6SnzRVNEX2jozMVoNW/Nc3fOhUrJftvueijWvfLjmoB55fqgEB4A0kVBrydGAbIQAAAABJRU5ErkJggg==
\ No newline at end of file
diff --git a/checkmark.png b/checkmark.png
new file mode 100644
index 0000000..4def663
Binary files /dev/null and b/checkmark.png differ
diff --git a/dot.svg b/dot.svg
index dd5112a..6d1485c 100644
--- a/dot.svg
+++ b/dot.svg
@@ -8,37 +8,37 @@
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
- sodipodi:docname="dot.svg"
- inkscape:export-ydpi="5.0500002"
- inkscape:export-xdpi="5.0500002"
- inkscape:export-filename="C:\Users\sigon\OneDrive\Documents\ProjectM\ProjectM\pause.png"
- id="svg8"
- version="1.1"
- viewBox="0 0 210 297"
+ width="210mm"
height="297mm"
- width="210mm">
+ viewBox="0 0 210 297"
+ version="1.1"
+ id="svg8"
+ inkscape:export-filename="C:\Users\sigon\OneDrive\Documents\ProjectM\ProjectM\pause.png"
+ inkscape:export-xdpi="5.0500002"
+ inkscape:export-ydpi="5.0500002"
+ sodipodi:docname="dot.svg"
+ inkscape:version="1.0 (4035a4fb49, 2020-05-01)">
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.70710678"
+ inkscape:cx="534.60146"
+ inkscape:cy="576.71618"
+ inkscape:document-units="mm"
+ inkscape:current-layer="layer12"
+ inkscape:document-rotation="0"
+ showgrid="false"
+ inkscape:window-width="1274"
+ inkscape:window-height="1074"
+ inkscape:window-x="1980"
+ inkscape:window-y="0"
+ inkscape:window-maximized="0" />
@@ -52,283 +52,162 @@
+ inkscape:label="Sig's Works">
+ inkscape:export-xdpi="102.55"
+ inkscape:export-ydpi="102.55">
+ height="10.835319"
+ width="10.835319"
+ x="57.680199"
+ y="144.15599"
+ style="stroke:#ffffff;stroke-width:0.263499;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke markers fill" />
Sig's Works Presents...
+ x="70.02462"
+ id="tspan2477"
+ sodipodi:role="line">Sig's Works Presents...
+
+
+
+
-
-
+ id="path855"
+ d="M 205.79753,128.82391 128.28937,52.919367 v 30.991347 l 45.65739,45.657396 z"
+ style="fill:#206476;fill-opacity:1;stroke:#999999;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+
+ id="layer1"
+ style="display:none">
+ cx="104.04629"
+ cy="149.80829"
+ r="34.773811" />
+ id="layer4"
+ inkscape:label="RotationArrow">
+ style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+ id="path833-7" />
+ id="layer5"
+ inkscape:groupmode="layer">
+ id="g1508">
+ height="106.90781"
+ width="88.198944"
+ id="rect833"
+ style="fill:#000000;fill-rule:evenodd;stroke:#999999;stroke-width:7.99999" />
+ cy="121.45661"
+ cx="113.08513"
+ id="path835"
+ style="fill:#000000;fill-rule:evenodd;stroke:#999999;stroke-width:7.99999" />
+ height="82.051743"
+ width="4.8108511"
+ id="rect837"
+ style="fill:#000000;fill-rule:evenodd;stroke:#999999;stroke-width:7.99999" />
+ height="82.853554"
+ width="3.7417734"
+ id="rect839"
+ style="fill:#000000;fill-rule:evenodd;stroke:#999999;stroke-width:7.99999" />
+ height="84.991714"
+ width="3.2072344"
+ id="rect841"
+ style="fill:#000000;fill-rule:evenodd;stroke:#999999;stroke-width:7.99999" />
-
+
+ style="fill:#000000;fill-rule:evenodd;stroke:#999999;stroke-width:7.99999"
+ id="path845-0"
+ sodipodi:sides="5"
+ sodipodi:cx="81.64286"
+ sodipodi:cy="99.407738"
+ sodipodi:r1="25.2651"
+ sodipodi:r2="17.335001"
+ sodipodi:arg1="-0.67941381"
+ sodipodi:arg2="-0.039341711"
+ inkscape:flatsided="false"
+ inkscape:rounded="0"
+ inkscape:randomized="0"
+ d="m 101.29762,83.532737 -2.333172,15.193188 3.850092,14.468955 -15.170572,2.47597 -12.571053,8.13281 -7.042754,-13.66295 -11.619428,-9.44261 10.817909,-10.920138 5.389851,-13.968659 13.72859,6.913934 z"
+ inkscape:transform-center-x="-0.76690555"
+ inkscape:transform-center-y="-1.6715653" />
X
+ x="57.499897"
+ id="tspan862"
+ sodipodi:role="line">X
+ id="layer6"
+ inkscape:groupmode="layer">
+ style="fill:#007f19;fill-opacity:1;stroke:#000000;stroke-width:10;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="M 37.868598,36.470018 V 232.64584 L 190.42945,144.56479 c 0,0 -151.491774,-103.81846 -152.560852,-108.094772 z"
+ id="path1510" />
-
+ inkscape:groupmode="layer"
+ style="display:none">
+
+ id="layer9"
+ inkscape:label="Misc">
+ r="59.868374"
+ cy="130.96207"
+ cx="48.643051"
+ id="path2789"
+ style="fill:#2e453a;fill-opacity:0;fill-rule:evenodd;stroke:#f4f4f4;stroke-width:4;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+ id="g2783"
+ transform="translate(64.490061,-28.545813)">
+ width="55.940475"
+ height="55.940475"
+ x="82.020836"
+ y="96.761902" />
+ id="path2775" />
+ id="g2787"
+ transform="translate(64.490061,-28.545813)">
+ cx="109.23513"
+ cy="224.89583"
+ r="32.883926" />
+ id="path2779"
+ sodipodi:cx="108.47916"
+ sodipodi:cy="224.13986"
+ sodipodi:expansion="1"
+ sodipodi:revolution="7.95646"
+ sodipodi:radius="25.369497"
+ sodipodi:argument="-48.361485"
+ sodipodi:t0="0"
+ d="m 108.47916,224.13986 c -0.15687,0.45323 -0.68834,0.0122 -0.7533,-0.26072 -0.17604,-0.73947 0.6268,-1.26209 1.27473,-1.24586 1.159,0.029 1.87174,1.22014 1.73844,2.28874 -0.19561,1.56821 -1.81951,2.49383 -3.30275,2.23101 -1.97693,-0.35029 -3.12089,-2.42075 -2.72359,-4.31676 0.49997,-2.38594 3.02282,-3.75046 5.33078,-3.21616 2.79525,0.6471 4.38146,3.62533 3.70874,6.34479 -0.79278,3.20478 -4.22813,5.01335 -7.35881,4.2013 -3.61448,-0.93754 -5.64585,-4.83111 -4.69388,-8.37281 1.08169,-4.02431 5.43423,-6.27878 9.38683,-5.18646 4.43421,1.22542 6.912,6.03745 5.67903,10.40084 -1.36883,4.8442 -6.64073,7.54546 -11.41485,6.17161 -5.25424,-1.51202 -8.179088,-7.24407 -6.66418,-12.42887 1.65502,-5.66431 7.84746,-8.81285 13.44288,-7.15675 6.07442,1.79788 9.44673,8.45088 7.64932,14.45689 -1.94063,6.48456 -9.05434,10.0807 -15.4709,8.1419 -6.894731,-2.08329 -10.714746,-9.65782 -8.634471,-16.48491 2.225869,-7.30492 10.261311,-11.34885 17.498921,-9.12705 7.71512,2.36839 11.98301,10.86483 9.61962,18.51294 -2.51086,8.12533 -11.46836,12.6172 -19.52695,10.11219 -8.535556,-2.65328 -13.251443,-12.0719 -10.604762,-20.54096 2.795667,-8.9458 12.675452,-13.88572 21.554972,-11.09734 9.35604,2.93802 14.52001,13.27902 11.58991,22.56898 -3.08034,9.7663 -13.88259,15.15434 -23.58299,12.08249 -10.176565,-3.22264 -15.78869,-14.48617 -12.575063,-24.59701 3.364917,-10.58683 15.089763,-16.42305 25.611023,-13.06763 10.9971,3.50717 17.05743,15.69335 13.5602,26.62503 -3.64941,11.40738 -16.29695,17.69183 -27.63904,14.05278 -11.817666,-3.79164 -18.326243,-16.90055 -14.545355,-28.65305 3.933847,-12.22796 17.504165,-18.96067 29.667065,-15.03793 12.63825,4.07604 19.5951,18.10777 15.5305,30.68108 -3.41784,10.57264 -13.78994,17.68121 -24.864,17.24211" />
+ inkscape:groupmode="layer"
+ style="display:none">
-
+ style="display:inline"
+ id="g1105"
+ transform="matrix(2.7765218,0.38634215,-0.38512726,2.7852803,-244.85648,-291.84254)">
+ height="225.04094"
+ x="123.6431"
+ y="40.3577" />
+ width="29.605049"
+ id="rect841-1"
+ style="display:inline;fill:#4c4c4c;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.05301;stroke-linejoin:round" />
-
+
+ height="225.04097"
+ x="74.452538"
+ y="-298.45715"
+ transform="rotate(112.19382)" />
+
+ x="-83.166756"
+ height="225.04099"
+ width="29.605049"
+ id="rect841-1-3-1"
+ style="display:inline;fill:#4c4c4c;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.05301;stroke-linejoin:round" />
+ cx="137.91107"
+ cy="155.01633"
+ r="103.96785" />
+ cx="138.44023"
+ id="path837"
+ style="fill:#434141;fill-opacity:1;fill-rule:evenodd;stroke:#a6a6a6;stroke-width:1.68581;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+ id="layer7"
+ inkscape:groupmode="layer">
+ id="g1573">
+ id="g1544"
+ style="fill:#000000;fill-opacity:1">
+ style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+ d="m 162.15178,126.24404 h -27.44794 l 41.64763,41.64763 35.4576,-41.69421 -24.33288,0.0466"
+ style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+ transform="rotate(180,104.01125,156.34664)">
+ id="path1538-8" />
+ id="path1540-0"
+ sodipodi:nodetypes="ccccc" />
+ id="layer3"
+ inkscape:label="Arrow">
+ id="path1032" />
diff --git a/game.js b/game.js
index 30ed2af..61bba98 100644
--- a/game.js
+++ b/game.js
@@ -243,6 +243,8 @@ function runGameSimulation(){
ISTESTING=true
BOT_PREVX=-100
BOT_PREVY=-100
+ BOT_TAPE=""
+ BOT_START_TAPE=""
generateBotQueue()
//console.log(BOT_QUEUE)
setTimeout(()=>{
@@ -459,19 +461,19 @@ var EASYMENU={
title:"Beginner Stages",
levels:[STAGE1,STAGE2],
cols:1,
- width:568*0.3
+ width:568*0.33
}
var MEDIUMMENU={
title:"Intermediate Stages",
levels:[STAGE1,STAGE2],
cols:1,
- width:568*0.3
+ width:568*0.33
}
var HARDMENU={
title:"Advanced Stages",
levels:[STAGE1,STAGE2],
cols:1,
- width:568*0.3
+ width:568*0.33
}
var gameGrid = []
@@ -1124,8 +1126,8 @@ function draw() {
}break;
case MAINMENU:{
DisplayMenu(canvas.width/2,8,TUTORIALMENU,ctx)
- DisplayMenu((canvas.width*0.33)*0+(canvas.width*0.15)+(canvas.width*0.03),108,EASYMENU,ctx)
- DisplayMenu((canvas.width*0.33)*1+(canvas.width*0.15)+(canvas.width*0.03),108,MEDIUMMENU,ctx)
+ DisplayMenu((canvas.width*0.33)*0+(canvas.width*0.15)+(canvas.width*0.01),108,EASYMENU,ctx)
+ DisplayMenu((canvas.width*0.33)*1+(canvas.width*0.15)+(canvas.width*0.02),108,MEDIUMMENU,ctx)
DisplayMenu((canvas.width*0.33)*2+(canvas.width*0.15)+(canvas.width*0.03),108,HARDMENU,ctx)
}break;
case STARTUP:{
@@ -1298,7 +1300,9 @@ function RenderGameInfo(ctx) {
ctx.fillText("Original Tape",canvas.width*0.75-canvas.width*0.25,20)
RenderTape(canvas.width*0.75-canvas.width*0.25+8,16,canvas.width*0.25-16,ctx,BOT_START_TAPE)
}
- RenderTape(canvas.width*0.75+8,16,canvas.width*0.25-16,ctx,BOT_TAPE)
+ if (BOT_START_TAPE!=="") {
+ RenderTape(canvas.width*0.75+8,16,canvas.width*0.25-16,ctx,BOT_TAPE)
+ }
if (gameState===RUNNING||gameState===REVIEWING||gameState===FINISH||gameState===PAUSED) {
@@ -1668,10 +1672,10 @@ function DisplayMenu(x,y,menu,ctx) {
ctx.moveTo(x-menu.width/2+4,y+18)
ctx.lineTo(x+menu.width/2-4,y+18)
ctx.stroke()
- ctx.font="16px 'Zilla Slab', serif"
- ctx.fillStyle="white"
- ctx.textAlign = "center"
for (var i=0;i
+
-
+