Skip to content

Commit

Permalink
up the cycles
Browse files Browse the repository at this point in the history
  • Loading branch information
donno2048 authored Dec 6, 2024
1 parent b9fbfbe commit 81ca5dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ xhr.open('GET', 'snake.com', true);
xhr.responseType = 'arraybuffer';

xhr.onload = _ =>
Dos(canvas, { cycles: 2, onprogress: ()=>{} }).ready((fs, main) =>
Dos(canvas, { cycles: 5, onprogress: ()=>{} }).ready((fs, main) =>
fs.extract(URL.createObjectURL(new Blob([zip(new Uint8Array(xhr.response))]))).then(() =>
main(["main.com"]).then(ci => {
swipedetect(swipedir => swipedir && ci.simulateKeyPress(36 + swipedir));
Expand Down

0 comments on commit 81ca5dd

Please sign in to comment.