Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite989a27

Browse files
committed
1 parentca80fe7 commite989a27

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎igpc/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width,initial-scale=1,user-scalable=0"><title>igpc: IGCSE pseudocode compiler</title><linkrel="icon shortcut"type="image/x-icon"href="/favicon.09aa0899.ico"><linkhref="/index.51e3ad98.css"rel="stylesheet"><linkhref="/index.20166f71.css"rel="stylesheet"><linkhref="/igpc/index.9093a599.css"rel="stylesheet"></head><bodyclass="page-igpc"><divclass="navbar navbar-inverse"><divclass="navbar-inner"><divclass="container"><divclass="collapse nav-collapse"><aclass="brand"href="/"><spanclass="logo"></span></a><ulclass="flex flex-wrap nav"><li><ahref="/"><iclass="icon-newspaper"></i><span>Home</span></a></li><li><ahref="/igpc/"><iclass="icon-power-cord"></i><span>igpc</span></a></li><liclass="hidden md:list-item"><ahref="/lightbot/"><iclass="icon-power-cord"></i><span>Lightbot</span></a></li><liclass="hidden md:list-item"><ahref="/docs/"><iclass="icon-arrow-right"></i><span>Getting Started</span></a></li></ul></div></div></div></div><divclass="main"><divclass="container mx-auto"><divclass="main-content"><divclass="title-header"><spanclass="tag-line">IGCSE pseudocode compiler</span></div><divclass="flex flex-wrap gap-y-6 igpc-editor"><divclass="bg-gray-50 border igpc-code lg:w-1/2 px-4 py-4 w-full"><divclass="font-bold mb-2">IGCSE pseudocode</div><textareaid="codeInput"class="bg-white code-input text-black w-full"></textarea><divclass="mt-2"><divid="igpc-error-wrap"class="hidden relative"><spanid="igpc-error-close-icon"class="absolute cursor-pointer hover:text-black inline-block right-4 text-gray-500 top-3">X</span><preid="igpc-error"class="text-red-500"></pre></div><divclass="flex justify-between"><buttonclass="bg-indigo-600 hover:bg-indigo-700 px-4 py-2 rounded-md run-code text-white"> Run</button><pclass="italic text-zinc-500">igpc v0.0.2</p></div></div></div><divclass="bg-gray-50 border igpc-console lg:w-1/2 px-4 py-5 w-full"><divclass="font-bold mb-2">CONSOLE</div><preid="logger"class="bg-stone-800 console overflow-auto text-white w-full"></pre><buttonclass="bg-cyan-500 clear-console hover:bg-cyan-600 px-4 py-2 rounded-md text-white"> Clear</button></div></div></div></div></div><footerclass="footer"><divclass="inner"><divclass="container mx-auto"><divclass="footer-main"><ulclass="flex flex-row justify-end"><liclass="social"><ahref="https://github.com/igcompsci"title="igcompsci on GitHub"><spanclass="icon-github"></span></a></li><li><ahref="https://www.coursemo.com/"title="COURSEMO"><imgsrc="/coursemo-logo.a5d1cfae.png"alt="COURSEMO"width="150"height="20"class="inline-block"></a></li></ul></div></div></div></footer></body><scriptsrc="//libs.coursemo.com/cs/igpc.umd.min.js?v=0.0.2"></script><scripttype="module"src="/igpc/index.93f314d4.js"></script></html>
1+
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width,initial-scale=1,user-scalable=0"><title>igpc: IGCSE pseudocode compiler</title><linkrel="icon shortcut"type="image/x-icon"href="/favicon.09aa0899.ico"><linkhref="/index.51e3ad98.css"rel="stylesheet"><linkhref="/index.20166f71.css"rel="stylesheet"><linkhref="/igpc/index.9093a599.css"rel="stylesheet"></head><bodyclass="page-igpc"><divclass="navbar navbar-inverse"><divclass="navbar-inner"><divclass="container"><divclass="collapse nav-collapse"><aclass="brand"href="/"><spanclass="logo"></span></a><ulclass="flex flex-wrap nav"><li><ahref="/"><iclass="icon-newspaper"></i><span>Home</span></a></li><li><ahref="/igpc/"><iclass="icon-power-cord"></i><span>igpc</span></a></li><liclass="hidden md:list-item"><ahref="/lightbot/"><iclass="icon-power-cord"></i><span>Lightbot</span></a></li><liclass="hidden md:list-item"><ahref="https://cs.coursemo.com/cs0478-book/getting-started.html"><iclass="icon-arrow-right"></i><span>Getting Started</span></a></li></ul></div></div></div></div><divclass="main"><divclass="container mx-auto"><divclass="main-content"><divclass="title-header"><spanclass="tag-line">IGCSE pseudocode compiler</span></div><divclass="flex flex-wrap gap-y-6 igpc-editor"><divclass="bg-gray-50 border igpc-code lg:w-1/2 px-4 py-4 w-full"><divclass="font-bold mb-2">IGCSE pseudocode</div><textareaid="codeInput"class="bg-white code-input text-black w-full"></textarea><divclass="mt-2"><divid="igpc-error-wrap"class="hidden relative"><spanid="igpc-error-close-icon"class="absolute cursor-pointer hover:text-black inline-block right-4 text-gray-500 top-3">X</span><preid="igpc-error"class="text-red-500"></pre></div><divclass="flex justify-between"><buttonclass="bg-indigo-600 hover:bg-indigo-700 px-4 py-2 rounded-md run-code text-white"> Run</button><pclass="italic text-zinc-500">igpc v0.0.2</p></div></div></div><divclass="bg-gray-50 border igpc-console lg:w-1/2 px-4 py-5 w-full"><divclass="font-bold mb-2">CONSOLE</div><preid="logger"class="bg-stone-800 console overflow-auto text-white w-full"></pre><buttonclass="bg-cyan-500 clear-console hover:bg-cyan-600 px-4 py-2 rounded-md text-white"> Clear</button></div></div></div></div></div><footerclass="footer"><divclass="inner"><divclass="container mx-auto"><divclass="footer-main"><ulclass="flex flex-row justify-end"><liclass="social"><ahref="https://github.com/igcompsci"title="igcompsci on GitHub"><spanclass="icon-github"></span></a></li><li><ahref="https://www.coursemo.com/"title="COURSEMO"><imgsrc="/coursemo-logo.a5d1cfae.png"alt="COURSEMO"width="150"height="20"class="inline-block"></a></li></ul></div></div></div></footer></body><scriptsrc="//libs.coursemo.com/cs/igpc.umd.min.js?v=0.0.2"></script><scripttype="module"src="/igpc/index.93f314d4.js"></script></html>

‎index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width,initial-scale=1,user-scalable=0"><title>IGCSE CompSci: RESOURCES FOR IGCSE CS</title><linkrel="icon shortcut"type="image/x-icon"href="/favicon.09aa0899.ico"><linkhref="/index.51e3ad98.css"rel="stylesheet"><linkhref="/index.20166f71.css"rel="stylesheet"></head><bodyclass="page-index"><divclass="navbar navbar-inverse"><divclass="navbar-inner"><divclass="container"><divclass="collapse nav-collapse"><aclass="brand"href="/"><spanclass="logo"></span></a><ulclass="flex flex-wrap nav"><li><ahref="/"><iclass="icon-newspaper"></i><span>Home</span></a></li><li><ahref="/igpc/"><iclass="icon-power-cord"></i><span>igpc</span></a></li><liclass="hidden md:list-item"><ahref="/lightbot/"><iclass="icon-power-cord"></i><span>Lightbot</span></a></li><liclass="hidden md:list-item"><ahref="/docs/"><iclass="icon-arrow-right"></i><span>Getting Started</span></a></li></ul></div></div></div></div><divclass="main"><divclass="container mx-auto"><divclass="main-content"><divclass="title-header"><spanclass="name">IGCSE CompSci</span><spanclass="tag-line">RESOURCES FOR IGCSE CS</span></div><h2>Overview</h2><p> Cambridge IGCSE Computer Science helps learners develop an interest in computational thinking and an understanding of the principles of problem-solving using computers. They apply this understanding to create computer-based solutions to problems using algorithms and a high-level programming language. Learners also develop a range of technical skills, and the ability to effectively test and evaluate computing solutions.</p><h2>Getting Started</h2><p>GO<ahref="/docs/">Getting started</a></p><h2>Online Tools</h2><tableclass="border-collapse my-table"><tbody><tr><th>Name</th><th>Description</th><th>Link</th></tr><tr><td><code>igpc</code></td><td>IGCSE pseudocode compiler</td><td><ahref="/igpc/">igpc</a></td></tr><tr><td><code>lightbot</code></td><td>lightbot format checker</td><td><ahref="/lightbot/">lightbot</a></td></tr></tbody></table></div></div></div><footerclass="footer"><divclass="inner"><divclass="container mx-auto"><divclass="footer-main"><ulclass="flex flex-row justify-end"><liclass="social"><ahref="https://github.com/igcompsci"title="igcompsci on GitHub"><spanclass="icon-github"></span></a></li><li><ahref="https://www.coursemo.com/"title="COURSEMO"><imgsrc="/coursemo-logo.a5d1cfae.png"alt="COURSEMO"width="150"height="20"class="inline-block"></a></li></ul></div></div></div></footer></body></html>
1+
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width,initial-scale=1,user-scalable=0"><title>IGCSE CompSci: RESOURCES FOR IGCSE CS</title><linkrel="icon shortcut"type="image/x-icon"href="/favicon.09aa0899.ico"><linkhref="/index.51e3ad98.css"rel="stylesheet"><linkhref="/index.20166f71.css"rel="stylesheet"></head><bodyclass="page-index"><divclass="navbar navbar-inverse"><divclass="navbar-inner"><divclass="container"><divclass="collapse nav-collapse"><aclass="brand"href="/"><spanclass="logo"></span></a><ulclass="flex flex-wrap nav"><li><ahref="/"><iclass="icon-newspaper"></i><span>Home</span></a></li><li><ahref="/igpc/"><iclass="icon-power-cord"></i><span>igpc</span></a></li><liclass="hidden md:list-item"><ahref="/lightbot/"><iclass="icon-power-cord"></i><span>Lightbot</span></a></li><liclass="hidden md:list-item"><ahref="https://cs.coursemo.com/cs0478-book/getting-started.html"><iclass="icon-arrow-right"></i><span>Getting Started</span></a></li></ul></div></div></div></div><divclass="main"><divclass="container mx-auto"><divclass="main-content"><divclass="title-header"><spanclass="name">IGCSE CompSci</span><spanclass="tag-line">RESOURCES FOR IGCSE CS</span></div><h2>Overview</h2><p> Cambridge IGCSE Computer Science helps learners develop an interest in computational thinking and an understanding of the principles of problem-solving using computers. They apply this understanding to create computer-based solutions to problems using algorithms and a high-level programming language. Learners also develop a range of technical skills, and the ability to effectively test and evaluate computing solutions.</p><h2>Getting Started</h2><p>GO<ahref="https://cs.coursemo.com/cs0478-book/getting-started.html">Getting started</a></p><h2>Online Tools</h2><tableclass="border-collapse my-table"><tbody><tr><th>Name</th><th>Description</th><th>Link</th></tr><tr><td><code>igpc</code></td><td>IGCSE pseudocode compiler</td><td><ahref="/igpc/">igpc</a></td></tr><tr><td><code>lightbot</code></td><td>lightbot format checker</td><td><ahref="/lightbot/">lightbot</a></td></tr></tbody></table></div></div></div><footerclass="footer"><divclass="inner"><divclass="container mx-auto"><divclass="footer-main"><ulclass="flex flex-row justify-end"><liclass="social"><ahref="https://github.com/igcompsci"title="igcompsci on GitHub"><spanclass="icon-github"></span></a></li><li><ahref="https://www.coursemo.com/"title="COURSEMO"><imgsrc="/coursemo-logo.a5d1cfae.png"alt="COURSEMO"width="150"height="20"class="inline-block"></a></li></ul></div></div></div></footer></body></html>

‎lightbot/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width,initial-scale=1,user-scalable=0"><title>Lightbot</title><linkrel="icon shortcut"type="image/x-icon"href="/favicon.09aa0899.ico"><linkhref="/index.51e3ad98.css"rel="stylesheet"><linkhref="/index.20166f71.css"rel="stylesheet"><linkhref="/lightbot/index.afc4a0bc.css"rel="stylesheet"></head><bodyclass="page-lightbot"><divclass="navbar navbar-inverse"><divclass="navbar-inner"><divclass="container"><divclass="collapse nav-collapse"><aclass="brand"href="/"><spanclass="logo"></span></a><ulclass="flex flex-wrap nav"><li><ahref="/"><iclass="icon-newspaper"></i><span>Home</span></a></li><li><ahref="/igpc/"><iclass="icon-power-cord"></i><span>igpc</span></a></li><liclass="hidden md:list-item"><ahref="/lightbot/"><iclass="icon-power-cord"></i><span>Lightbot</span></a></li><liclass="hidden md:list-item"><ahref="/docs/"><iclass="icon-arrow-right"></i><span>Getting Started</span></a></li></ul></div></div></div></div><divclass="main s-mini-container"><divclass="container mx-auto"><divclass="main-content"><divclass="title-header"><spanclass="tag-line">Lightbot</span></div><div><h2class="first">Solve Puzzles using Programming!</h2><p> LightBot is a puzzle game based on coding; it secretly teaches you programming logic as you play!</p><pstyle="background:#ffe;border-radius:10px;padding:10px;font-size:24px"><b>Programming</b>, or<b>Coding</b>, is simply the way people tell a computer what to do using instructions that the computer understands.</p><h2>Rules for Programming Lightbot</h2><p> In the game, the Lightbot is programmed by arranging icons representing discrete actions onto a grid. The possible actions are:</p><p><imgsrc="/instructions.747472f8.png"></p><prestyle="max-width:480px">
1+
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width,initial-scale=1,user-scalable=0"><title>Lightbot</title><linkrel="icon shortcut"type="image/x-icon"href="/favicon.09aa0899.ico"><linkhref="/index.51e3ad98.css"rel="stylesheet"><linkhref="/index.20166f71.css"rel="stylesheet"><linkhref="/lightbot/index.afc4a0bc.css"rel="stylesheet"></head><bodyclass="page-lightbot"><divclass="navbar navbar-inverse"><divclass="navbar-inner"><divclass="container"><divclass="collapse nav-collapse"><aclass="brand"href="/"><spanclass="logo"></span></a><ulclass="flex flex-wrap nav"><li><ahref="/"><iclass="icon-newspaper"></i><span>Home</span></a></li><li><ahref="/igpc/"><iclass="icon-power-cord"></i><span>igpc</span></a></li><liclass="hidden md:list-item"><ahref="/lightbot/"><iclass="icon-power-cord"></i><span>Lightbot</span></a></li><liclass="hidden md:list-item"><ahref="https://cs.coursemo.com/cs0478-book/getting-started.html"><iclass="icon-arrow-right"></i><span>Getting Started</span></a></li></ul></div></div></div></div><divclass="main s-mini-container"><divclass="container mx-auto"><divclass="main-content"><divclass="title-header"><spanclass="tag-line">Lightbot</span></div><div><h2class="first">Solve Puzzles using Programming!</h2><p> LightBot is a puzzle game based on coding; it secretly teaches you programming logic as you play!</p><pstyle="background:#ffe;border-radius:10px;padding:10px;font-size:24px"><b>Programming</b>, or<b>Coding</b>, is simply the way people tell a computer what to do using instructions that the computer understands.</p><h2>Rules for Programming Lightbot</h2><p> In the game, the Lightbot is programmed by arranging icons representing discrete actions onto a grid. The possible actions are:</p><p><imgsrc="/instructions.747472f8.png"></p><prestyle="max-width:480px">
22
forward light left right jump P1 P2</pre><ul><li><code>forward</code> - Lightbot moves forward one step if this does not take it off the grid and the next tile is at the same level as the current tile.</li><li><code>light</code> - Lightbot lights up the tile it is standing on if it has a deep blue color.</li><li><code>left</code> - Lightbot turns left (counter-clockwise) 90 degrees but stays on the current tile.</li><li><code>right</code> - Lightbot turns right (clockwise) 90 degrees but stays on the current tile.</li><li><code>jump</code> - Lightbot jumps forward one step if the next tile is either one level higher or any number of levels lower than the current tile.</li><li><code>P1</code> - Lightbot starts executing the commands shown in the PROC1 area. Once it is done, it returns back to where it left off in the command sequence (just after the P1 command).</li><li><code>P2</code> - Lightbot starts executing the commands shown in the PROC2 area. Once it is done, it returns back to where it left off in the command sequence (just after the P2 command).</li></ul><h2>Representing Lightbot Programs Textually</h2><p> Although programs can be written in a variety of notations — including graphical ones, like in the Light-Bot game — it is most common to use represent programs textually.</p><p> For example, consider the Lightbot puzzle with its solution program and the corresponding text file<b>shown in Figure 1 below</b>.</p><tableclass="border-collapse my-table-1"><tbody><tr><td><imgsrc="/stage-5-1.50db4d1b.png"height="400"width="550"></td><td><preclass="no-background">
33
Name: Larry Xu
44
Stage: 5-1

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp