Skip to content

Commit

Permalink
Deploying to gh-pages from @ 12dc4cf 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed May 29, 2024
1 parent 2407bb7 commit c32a700
Show file tree
Hide file tree
Showing 20 changed files with 51 additions and 24 deletions.
2 changes: 1 addition & 1 deletion assets/0-BHJvTjwt.js → assets/0-DvgHNS9V.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{l as e,a as o,r as t,b as s}from"./sprites-uUyKPnYV.js";import"./index-DhYtdT-E.js";const r=0;const n="console.log";const c=`
import{l as e,a as o,r as t,b as s}from"./sprites-CZYdguN4.js";import"./index-x1ppZCB-.js";const r=0;const n="console.log";const c=`
${e()}
${o()}
Expand Down
6 changes: 2 additions & 4 deletions assets/1-B9Y6jSd2.js → assets/1-BB8PyiKs.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{l as e,a as t,r as o,b as s}from"./sprites-uUyKPnYV.js";import"./index-DhYtdT-E.js";const i=1;const n="Single-line comments";const l=`
import{l as e,a as t,r as o,b as s}from"./sprites-CZYdguN4.js";import"./index-x1ppZCB-.js";const i=1;const n="Single-line comments";const l=`
${e()}
${t()}
Expand All @@ -9,9 +9,7 @@ ${s(i)}
add([text('Uncomment the exit')])
`;const c=`
/**
* Single-line comments start with 2 forward slashes //
*/
// Single-line comments start with 2 forward slashes
// console.log('This is commented out')
console.log('This is not commented out')
Expand Down
2 changes: 1 addition & 1 deletion assets/9-VeKQ1zck.js → assets/10-eiE3b7wT.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{l as r,a as s,r as a,b as o}from"./sprites-uUyKPnYV.js";import"./index-DhYtdT-E.js";const t=9;const i="For Loop";const e=Array.from(Array(42).keys()).map(()=>"answer").join("");const y=`
import{l as r,a as s,r as a,b as o}from"./sprites-CZYdguN4.js";import"./index-x1ppZCB-.js";const t=10;const i="For Loop";const e=Array.from(Array(42).keys()).map(()=>"answer").join("");const y=`
${r()}
${s()}
loadSprite('key', 'sprites/key.png')
Expand Down
2 changes: 1 addition & 1 deletion assets/10-DmrmZt35.js → assets/11-C8PBADJT.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{l as e,a as o,r as s,b as i}from"./sprites-uUyKPnYV.js";import"./index-DhYtdT-E.js";const t=10;const a="forEach";const n=`
import{l as e,a as o,r as s,b as i}from"./sprites-CZYdguN4.js";import"./index-x1ppZCB-.js";const t=11;const a="forEach";const n=`
${e()}
${o()}
loadSprite('spike', 'sprites/spike.png')
Expand Down
2 changes: 1 addition & 1 deletion assets/11-CSgJaU-K.js → assets/12-DnpujLxU.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{l as e,a as t,r as a,b as o}from"./sprites-uUyKPnYV.js";import"./index-DhYtdT-E.js";const n=11;const l="Loops";const p=`
import{l as e,a as t,r as a,b as o}from"./sprites-CZYdguN4.js";import"./index-x1ppZCB-.js";const n=12;const l="Loops";const p=`
${e()}
${t()}
loadSprite('enemy', 'sprites/ghosty.png')
Expand Down
2 changes: 1 addition & 1 deletion assets/12-B4Xj8F08.js → assets/13-Dmzeb7pt.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{l as e,a as t,r as s,b as r}from"./sprites-uUyKPnYV.js";import"./index-DhYtdT-E.js";const o=12;const n="setTimeout";const c=`
import{l as e,a as t,r as s,b as r}from"./sprites-CZYdguN4.js";import"./index-x1ppZCB-.js";const o=13;const n="setTimeout";const c=`
${e()}
${t()}
Expand Down
2 changes: 1 addition & 1 deletion assets/13-gWsGEkPg.js → assets/14-Cx9D0byB.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{l as t,a as e,b as r,r as a}from"./sprites-uUyKPnYV.js";import"./index-DhYtdT-E.js";const s=13;const n="setInterval";const c=`
import{l as t,a as e,b as r,r as a}from"./sprites-CZYdguN4.js";import"./index-x1ppZCB-.js";const s=14;const n="setInterval";const c=`
${t()}
${e()}
Expand Down
2 changes: 1 addition & 1 deletion assets/14-BhYVqIfN.js → assets/15-BR9OBeMX.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{l as e,a as s,r as t,b as a}from"./sprites-uUyKPnYV.js";import"./index-DhYtdT-E.js";const r=14;const i="Timer";const d=`
import{l as e,a as s,r as t,b as a}from"./sprites-CZYdguN4.js";import"./index-x1ppZCB-.js";const r=15;const i="Timer";const d=`
${e()}
${s()}
loadSprite('key', 'sprites/key.png')
Expand Down
2 changes: 1 addition & 1 deletion assets/15-DLZ-LfwC.js → assets/16--ikPRc42.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{l as t,a as r,r as a,b as o}from"./sprites-uUyKPnYV.js";import"./index-DhYtdT-E.js";const s=15;const d="JSON.stringify";const e=JSON.stringify({level:s,year:new Date().getFullYear()});const n=`
import{l as t,a as r,r as a,b as o}from"./sprites-CZYdguN4.js";import"./index-x1ppZCB-.js";const s=16;const d="JSON.stringify";const e=JSON.stringify({level:s,year:new Date().getFullYear()});const n=`
${t()}
${r()}
loadSprite('key', 'sprites/key.png')
Expand Down
29 changes: 29 additions & 0 deletions assets/2-D-ww08o4.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import{l as t,a as e,b as o,r as s}from"./sprites-CZYdguN4.js";import"./index-x1ppZCB-.js";const i=2;const n="Multi-line comments";const l=`
${t()}
${e()}
add([sprite('exit'), pos(center()), area(), 'exit'])
${o(i)}
add([text('Uncomment the player')])
`;const p=`
// Multi-line comments start with /* and end with */
/* console.log('This is commented out') */
console.log('This is not commented out')
/*
add([
sprite('player'),
pos(50, 50),
area(),
'player',
])
*/
`;const c=`
const player = get('player')[0]
if (player) {
${s()}
}
`;export{i as level,c as postscript,l as prescript,p as script,n as title};
2 changes: 1 addition & 1 deletion assets/2-DSckGPU7.js → assets/3-Lkp-1GHq.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{l as e,a as r,r as t,b as s}from"./sprites-uUyKPnYV.js";import"./index-DhYtdT-E.js";const i=2;const l="Strings";const n=`
import{l as e,a as r,r as t,b as s}from"./sprites-CZYdguN4.js";import"./index-x1ppZCB-.js";const i=3;const l="Strings";const n=`
${e()}
${r()}
Expand Down
2 changes: 1 addition & 1 deletion assets/3-CV4CSi9g.js → assets/4-DiXSqrfC.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{l as e,a as r,r as t,b as s}from"./sprites-uUyKPnYV.js";import"./index-DhYtdT-E.js";const i=3;const p="Numbers";const n=`
import{l as e,a as r,r as t,b as s}from"./sprites-CZYdguN4.js";import"./index-x1ppZCB-.js";const i=4;const p="Numbers";const n=`
${e()}
${r()}
Expand Down
2 changes: 1 addition & 1 deletion assets/4-DUMqk-QM.js → assets/5-DyDHa_41.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{l as e,a as t,r,b as a}from"./sprites-uUyKPnYV.js";import"./index-DhYtdT-E.js";const s=4;const l="Booleans";const n=`
import{l as e,a as t,r,b as a}from"./sprites-CZYdguN4.js";import"./index-x1ppZCB-.js";const s=5;const l="Booleans";const n=`
${e()}
${t()}
Expand Down
2 changes: 1 addition & 1 deletion assets/5-CkjRTRKb.js → assets/6-DaFhqpZF.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{l as e,a as t,r as a,b as r}from"./sprites-uUyKPnYV.js";import"./index-DhYtdT-E.js";const s=5;const o="Arrays";const l=`
import{l as e,a as t,r as a,b as r}from"./sprites-CZYdguN4.js";import"./index-x1ppZCB-.js";const s=6;const o="Arrays";const l=`
${e()}
loadSprite('wall', 'sprites/steel.png')
${t()}
Expand Down
2 changes: 1 addition & 1 deletion assets/6-Bfghpv7i.js → assets/7-CXUmPo1z.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{l as e,a as o,b as s}from"./sprites-uUyKPnYV.js";import"./index-DhYtdT-E.js";const t=6;const p="Objects";const i=`
import{l as e,a as o,b as s}from"./sprites-CZYdguN4.js";import"./index-x1ppZCB-.js";const t=7;const p="Objects";const i=`
${e()}
${o()}
Expand Down
2 changes: 1 addition & 1 deletion assets/7-CJxunK1I.js → assets/8-CGOywJbO.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{l as e,a as o,b as t}from"./sprites-uUyKPnYV.js";import"./index-DhYtdT-E.js";const r=7;const p="Functions";const i=`
import{l as e,a as o,b as t}from"./sprites-CZYdguN4.js";import"./index-x1ppZCB-.js";const r=8;const p="Functions";const i=`
${e()}
${o()}
Expand Down
2 changes: 1 addition & 1 deletion assets/8-9eZHNNcA.js → assets/9-_2LGhh4l.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{l as r,a,r as t,b as o}from"./sprites-uUyKPnYV.js";import"./index-DhYtdT-E.js";const s=8;const l="Variables";const e=(new Date().getFullYear()+s)*31337;const i=`
import{l as r,a,r as t,b as o}from"./sprites-CZYdguN4.js";import"./index-x1ppZCB-.js";const s=9;const l="Variables";const e=(new Date().getFullYear()+s)*31337;const i=`
${r()}
${a()}
loadSprite('key', 'sprites/key.png')
Expand Down
6 changes: 3 additions & 3 deletions assets/index-DhYtdT-E.js → assets/index-x1ppZCB-.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/sprites-uUyKPnYV.js → assets/sprites-CZYdguN4.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{G as a}from"./index-DhYtdT-E.js";const s=(e=320)=>`
import{G as a}from"./index-x1ppZCB-.js";const s=(e=320)=>`
onKeyDown((key) => {
switch (key) {
case 'up':
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html lang="en-US"><head><meta charset="utf-8"/><link rel="icon" href="/code-arcade/logo.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="🕹️ Learn how to program with Code Arcade."/><meta property="og:image" content="https://remarkablegames.org/code-arcade/logo.png"/><link rel="manifest" href="/code-arcade/manifest.json"/><script src="https://unpkg.com/github-corners/dist/embed.min.js" data-href="https://github.com/remarkablegames/code-arcade" data-target="_blank" async defer="defer"></script><style>.github-corner>svg{opacity:.6;transition:opacity .4s}.github-corner:hover>svg{opacity:1}</style><title>Code Arcade | remarkablegames</title><script type="module" crossorigin src="/code-arcade/assets/index-DhYtdT-E.js"></script><link rel="stylesheet" crossorigin href="/code-arcade/assets/index-DoXS4MAZ.css"></head><body><noscript>You need to enable JavaScript to play this game.</noscript><main class="flex justify-center xl:center"><div class="flex max-xl:hidden"><h1 class="basis-1/2 self-end">Code Arcade</h1><button>► Run</button></div><div class="xl:flex"><h1 class="xl:hidden">Code Arcade</h1><iframe></iframe><div id="editor"></div><button class="xl:hidden">► Run</button></div></main><script>window['ga-disable-G-C0Y4213M4D'] = false;
<!doctype html><html lang="en-US"><head><meta charset="utf-8"/><link rel="icon" href="/code-arcade/logo.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="🕹️ Learn how to program with Code Arcade."/><meta property="og:image" content="https://remarkablegames.org/code-arcade/logo.png"/><link rel="manifest" href="/code-arcade/manifest.json"/><script src="https://unpkg.com/github-corners/dist/embed.min.js" data-href="https://github.com/remarkablegames/code-arcade" data-target="_blank" async defer="defer"></script><style>.github-corner>svg{opacity:.6;transition:opacity .4s}.github-corner:hover>svg{opacity:1}</style><title>Code Arcade | remarkablegames</title><script type="module" crossorigin src="/code-arcade/assets/index-x1ppZCB-.js"></script><link rel="stylesheet" crossorigin href="/code-arcade/assets/index-DoXS4MAZ.css"></head><body><noscript>You need to enable JavaScript to play this game.</noscript><main class="flex justify-center xl:center"><div class="flex max-xl:hidden"><h1 class="basis-1/2 self-end">Code Arcade</h1><button>► Run</button></div><div class="xl:flex"><h1 class="xl:hidden">Code Arcade</h1><iframe></iframe><div id="editor"></div><button class="xl:hidden">► Run</button></div></main><script>window['ga-disable-G-C0Y4213M4D'] = false;
window.dataLayer = window.dataLayer || [];
window.gtag = function () {
dataLayer.push(arguments);
Expand Down

0 comments on commit c32a700

Please sign in to comment.