Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosvinix committed Apr 1, 2024
1 parent 9571da2 commit 9779b4a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion english/level4/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,5 +184,5 @@ <h5 class="modal-title" id="logModalLabel">To complete Level 4, inform:</h5>
</div>
</body>
<script type="module" src="https://avrgroup.github.io/ELoS_test/level1/index.fb1fd881.js"></script>
<script type="module" src="https://avrgroup.github.io/ELoS_test/level4/index.8a4efe15.js"></script>
<script type="module" src="https://avrgroup.github.io/ELoS_test/level4/index.f897a40d.js"></script>
</html>
17 changes: 9 additions & 8 deletions level4/index.8a4efe15.js → level4/index.f897a40d.js
Original file line number Diff line number Diff line change
Expand Up @@ -4635,6 +4635,7 @@ function $63288163d0e35ed8$export$2e2bcd8739ae039(code, limit = 0) {
editor.dispatch({selection:{anchor:editor.state.doc.line(${i + 1}).from}});
await delay(250);\n`;
lineParsed9 += `while${line2.substring(line2.indexOf("("))}{\n`;
lineParsed9 += `while(true){break;\n`;
codeParsed += lineParsed9;
totalCommands++;
nonblockcmd = true;
Expand All @@ -4654,15 +4655,15 @@ function $63288163d0e35ed8$export$2e2bcd8739ae039(code, limit = 0) {
let lineParsed10 = `editor.focus();
editor.dispatch({selection:{anchor:editor.state.doc.line(${i + 1}).from}});
await delay(250);\n`;
for(let j1 = i + 2; j1 < lines.length; j1++)if (lines[j1] != "}" && lines[j1] != "") {
lineParsed10 += `while${line3.substring(line3.indexOf("("))}\n`;
codeParsed += lineParsed10;
break;
} else {
lineParsed10 += `while(true){break`;
codeParsed += lineParsed10;
console.log("tste");
isEmpty = true;
for(let j1 = i; j1 < lines.length && !lines[j1].includes("}"); j1++)if (lines[j1] != "" && j1 != i) {
isEmpty = false;
break;
}
if (isEmpty) lineParsed10 += `while(true){break;`;
else lineParsed10 += `while${line3.substring(line3.indexOf("("))}\n`;
codeParsed += lineParsed10;
totalCommands++;
} else {
valid = false;
Expand Down Expand Up @@ -4706,7 +4707,7 @@ module.exports = new URL("../" + (parcelRequire("2JpsI")).resolve("6itYu"), impo

var $f513c3a1714014d3$exports = {};

(parcelRequire("2JpsI")).register(JSON.parse('{"jv3CK":"index.8a4efe15.js","cWmqK":"door2.e849dc7b.jpg","6itYu":"metalWallLvl4.dd3a34a6.jpg","kJhXF":"index.bb171f7c.js","cOLmr":"index.8c12255d.js"}'));
(parcelRequire("2JpsI")).register(JSON.parse('{"jv3CK":"index.f897a40d.js","cWmqK":"door2.e849dc7b.jpg","6itYu":"metalWallLvl4.dd3a34a6.jpg","kJhXF":"index.bb171f7c.js","cOLmr":"index.8c12255d.js"}'));


parcelRequire("1mCsO");
Expand Down
2 changes: 1 addition & 1 deletion level4/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,5 +186,5 @@ <h5 class="modal-title" id="logModalLabel">Para finalizar o Nível 4, informe:</
</div>
</body>
<script type="module" src="https://avrgroup.github.io/ELoS_test/level1/index.fb1fd881.js"></script>
<script type="module" src="https://avrgroup.github.io/ELoS_test/level4/index.8a4efe15.js"></script>
<script type="module" src="https://avrgroup.github.io/ELoS_test/level4/index.f897a40d.js"></script>
</html>

0 comments on commit 9779b4a

Please sign in to comment.