Guest122 [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=62268 Assemblo8 <p>Just a fun or education tool in Pico-8.<br /> It is meant to mimic assembly (no particular version) and has by default 16 registers and 18 commands.<br /> Registers aren't labelled, but they are 1-16.<br /> It is easy to expand or reduce if you want to.<br /> I think it is turing complete, although I am not sure.<br /> To type use the keyboard (no support for mobile), enter to make a new line and right arrow to run.</p> <p> <table><tr><td> <a href="/bbs/?pid=137326#p"> <img src="/bbs/thumbs/pico8_assemblo8-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=137326#p"> assemblo8</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=137326#p"> [Click to Play]</a> </td></tr></table> </p> <p>List of commands:<br /> <div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"><br /> mov [reg_num] [dest_reg] - copies from [reg_num] to [dest_reg];</p> <p>push [reg_num] [num] - copies [num] onto [reg_num]. If [reg_num]==NR, then modifies number of registers. If [num] is smaller then the current number of registers, the last ones will be deleted. Otherwise, registers will be appended to the end;</p> <p>and [reg_num_1] [reg_num_2] [dest_reg] - performs logical AND on [reg_num_1] and [reg_num_2] and saves the value onto [dest_reg];</p> <p>add [reg_num_1] [reg_num_2] [dest_reg] - adds [reg_num_1] and [reg_num_2] and saves the value onto [dest_reg];</p> <p>sub [reg_num_1] [reg_num_2] [dest_reg] - subtracts [reg_num_2] from [reg_num_1] and saves the value onto [dest_reg];</p> <p>mul [reg_num_1] [reg_num_2] [dest_reg] - multiplies [reg_num_1] and [reg_num_2] and saves the value onto [dest_reg];</p> <p>div [reg_num_1] [reg_num_2] [dest_reg] - divides [reg_num_1] by [reg_num_2] and saves the value onto [dest_reg];</p> <p>neg [reg_num] [dest_reg] - negates [reg_num] and saves it onto [dest_reg];</p> <p>dec [reg_num] - decrements [reg_num] by 1;</p> <p>inc [reg_num] - increments [reg_num] by 1;</p> <p>or [reg_num_1] [reg_num_2] [dest_reg] - performs logical OR on [reg_num_1] and [reg_num_2] and saves the value onto [dest_reg];</p> <p>xor [reg_num_1] [reg_num_2] [dest_reg] - performs logical XOR on [reg_num_1] and [reg_num_2] and saves the value onto [dest_reg];</p> <p>shl [reg_num] [num] [dest_reg] - performs logical LEFT SHIFT on [reg_num] by [num] places and saves the value onto [dest_reg];</p> <p>shr [reg_num] [num] [dest_reg] - performs logical RIGHT SHIFT on [reg_num] by [num] places and saves the value onto [dest_reg];</p> <p>cmp [sign] [reg_num] [num]- compares [reg_num] to [num] using [sign]. If true, skips the following line. List of values for [sign]: 1-greater than; 2-equal to; 3-less than; 4-greater than or equal to; 5-less than or equal to; 6-not equal to;</p> <p>cmpsb [sign] [reg_num_1] [reg_num_2] - compares [reg_num] to [reg_num_2] using [sign]. If true, skips the following line. List of values for [sign]: 1-greater than; 2-equal to; 3-less than; 4-greater than or equal to; 5-less than or equal to; 6-not equal to;</p> <p>jmp [line_num] - jumps to [line_num] before or after this one, without triggering lines in between;</p> <p>halt - stops the program. Required at the end of any program, or else, an error will appear.<br /> </div></div></div></p> https://www.lexaloffle.com/bbs/?tid=54998 https://www.lexaloffle.com/bbs/?tid=54998 Sun, 12 Nov 2023 19:10:05 UTC SECS-OS <p>After two months-ish of planning and coding....<br /> I introduce to you...</p> <h2>SECS-OS!</h2> <p>SECS (Securely Encrypted Computer System, don't quote me on this) is a successor to my previous P8-DOS.<br /> Featuring:<br /> A GUI;<br /> A terminal that is definitely not scuffed;<br /> A text editor that is also not scuffed;<br /> A calculator that is actually decent?;<br /> And most importantly:</p> <h3>A login page!</h3> <p>SECS has a built-in weird hashing-like algorithm, to protect you and your system.</p> <p>You are able to see any folder from within SECS (no idea why it works) and generate .txt files that you can later open.</p> <p>To make a new line in the text editor, use the right arrow key.<br /> To save the file, use the left arrow key.<br /> To run a command, use the right arrow key.</p> <p>Due to the high security of this project, the operating system can't be installed directly.<br /> If you would like to give it a try, here it is:</p> <p> <table><tr><td> <a href="/bbs/?pid=136036#p"> <img src="/bbs/thumbs/pico8_secs_login-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=136036#p"> secs_login</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=136036#p"> [Click to Play]</a> </td></tr></table> <br /> <div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"><br /> P.S.: Most features require keyboard and mouse. SECS-OS wasn't designed for mobile.<br /> Also, if you find a bug, please let me know!<br /> P.P.S.: Ignore &quot;the operating system can't be installed directly&quot;. This is false, I think.<br /> </div></div></div></p> https://www.lexaloffle.com/bbs/?tid=54636 https://www.lexaloffle.com/bbs/?tid=54636 Tue, 17 Oct 2023 19:25:14 UTC Chr() list <p>Just the list of chr() numbers and corresponding outputs.<br /> Some are invisible, like chr(8) since this is backspace or chr(129)(▒) for no reason (?).<br /> <a href="https://www.lexaloffle.com/bbs/files/62268/testing.txt">https://www.lexaloffle.com/bbs/files/62268/testing.txt</a>.<br /> As the above file is weird, you can check it out on google drive:<br /> <a href="https://drive.google.com/file/d/1DdpsxRyfPPM7pB-ukgd8aD_0eL-WqgrU/view">https://drive.google.com/file/d/1DdpsxRyfPPM7pB-ukgd8aD_0eL-WqgrU/view</a>.</p> https://www.lexaloffle.com/bbs/?tid=54096 https://www.lexaloffle.com/bbs/?tid=54096 Wed, 13 Sep 2023 18:49:45 UTC Circuit Simulator <p>Small circuit sim I made inspired by Virtual Circuit Board.<br /> Includes wires, lights, switches, and gates and not gates.<br /> Everything should feel intuitive.</p> <p>If you find any bugs, please let me know!</p> <h3>Version 1.1 is here!</h3> <p>Changelog:<br /> <div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"><br /> Added latches and delays.<br /> Latches are dark orange when off and yellow when on.<br /> They can store current.<br /> E.g.:<br /> If the grey part of the latch is powered by a wire, the latch will output what is on the purple part. However, if the purple and grey parts are on, and then the grey is turned off, the latch will still output what was on the purple part.<br /> Delays are dark-grey when off and grey when on. They will, as the name suggests, delay the current from passing by one &quot;visual tick&quot;.<br /> </div></div></div><br /> <table><tr><td> <a href="/bbs/?pid=133658#p"> <img src="/bbs/thumbs/pico8_circuitsim-5.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=133658#p"> circuitsim</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=133658#p"> [Click to Play]</a> </td></tr></table> </p> <p>Mobile version:<br /> <table><tr><td> <a href="/bbs/?pid=133658#p"> <img src="/bbs/thumbs/pico8_circuitsimmobile-5.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=133658#p"> circuitsimmobile</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=133658#p"> [Click to Play]</a> </td></tr></table> </p> <h3>Version 1.0:</h3> <p>Changelog:<br /> <div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"><br /> Initial release.<br /> Included wires, lights, switches, and gates and not gates.<br /> </div></div></div><br /> <div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"><br /> <table><tr><td> <a href="/bbs/?pid=133658#p"> <img src="/bbs/thumbs/pico8_circuitsim-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=133658#p"> circuitsim</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=133658#p"> [Click to Play]</a> </td></tr></table> <br /> </div></div></div><br /> As a challenge, try to make a smaller xor gate.<br /> How tiles are counted:<br /> <div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"></p> <img style="margin-bottom:16px" border=0 src="/media/62268/14_latches.png" alt="" /> <p>In this image, you can see a channel down the middle.<br /> This has an exit, so the channel isn't counted toward the total tiles.<br /> Lower you will see four 1 by 1 empty areas.<br /> These are counted because they are fully enclosed.<br /> Any tiles you place, will also be counted toward the final score.<br /> </div></div></div><br /> Xor gate list: (1.0+)<br /> <div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"></p> <h3>Score to beat: 34 units of enclosed area.</h3> <h3>Solutions by thePixelXb_ and stadam (in order)</h3> <p>(also, for those of you who say stadam's solution is 35 tiles, stop, please)</p> <h3><a href="https://www.lexaloffle.com/bbs/?uid=67356">https://www.lexaloffle.com/bbs/?uid=67356</a></h3> <h3><a href="https://www.lexaloffle.com/bbs/?uid=75813">https://www.lexaloffle.com/bbs/?uid=75813</a></h3> <h3>thePixelXb_'s solution</h3> <img style="margin-bottom:16px" border=0 src="/media/62268/10_circuitsim.jpeg" alt="" /> <h3>stadam's solution</h3> <img style="margin-bottom:16px" border=0 src="/media/62268/11_circuitsim.png" alt="" /> <h3>If you didn't understand any of these, here is an example:</h3> <img style="margin-bottom:16px" border=0 src="/media/62268/example.png" alt="" /> <p></div></div></div><br /> Things I probably should add:<br /> <div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"><br /> Another wire that doesn't interact with the red wire?<br /> A built-in xor gate?<br /> Some way to save circuits so that you can use them again as a tile.<br /> </div></div></div></p> https://www.lexaloffle.com/bbs/?tid=53898 https://www.lexaloffle.com/bbs/?tid=53898 Mon, 28 Aug 2023 16:23:03 UTC Random Password Generator <p>Extremely simple password generator.<br /> Before anything else, I want to say, that since it uses the built-in rnd() function, it will(more than probably)be insecure. If you want extra security, just don't... use it.<br /> It features 7 character sets.<br /> And that is pretty much it.</p> <p> <table><tr><td> <a href="/bbs/?pid=133009#p"> <img src="/bbs/thumbs/pico8_passwordgen-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=133009#p"> passwordgen</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=133009#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=53734 https://www.lexaloffle.com/bbs/?tid=53734 Sun, 13 Aug 2023 14:06:35 UTC Encryption <p>Small cart that features simple encryption/decryption methods.<br /> <table><tr><td> <a href="/bbs/?pid=132908#p"> <img src="/bbs/thumbs/pico8_encryption-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=132908#p"> encryption</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=132908#p"> [Click to Play]</a> </td></tr></table> <br /> <div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"><br /> Scytale is kinda broken, sorry!<br /> </div></div></div></p> https://www.lexaloffle.com/bbs/?tid=53706 https://www.lexaloffle.com/bbs/?tid=53706 Wed, 09 Aug 2023 15:58:35 UTC HackTheCart 3 <h2>Hone your cart hacking abilities with this HackTheBox-like cart!</h2> <p>Simple premise:<br /> You control a square which can move around the screen.<br /> Your goal is to move out of the top left corner and after, without triggering btnp(), get back into the top left corner.<br /> Sounds simple enough.<br /> In fact, I will even let you look at the code!<br /> It is very difficult, so I made an easier version of it for you to try out first.<br /> You will need to download the cart to solve the challenge.</p> <h2>Have fun solving this challenge!</h2> <h3>Easier version (try this one first!):</h3> <p> <table><tr><td> <a href="/bbs/?pid=132496#p"> <img src="/bbs/thumbs/pico8_hacking4_1-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=132496#p"> hacking4_1</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=132496#p"> [Click to Play]</a> </td></tr></table> </p> <h2>Solution:</h2> <p><div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"><br /> Go to a different location, using the btnp() keys you have set;<br /> Press esc, to enter the terminal;<br /> Create a function which takes in an argument. Inside the function make p= the argument;<br /> E.g.:</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>function t(k) p=k end</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Call the function and as the argument use the table:{x=0,y=0} or {y=0,x=0};<br /> Modify the _draw() function like so:</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>function _draw() cls() move_pl(p) end</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Type resume and hit enter.<br /> </div></div></div></p> <h3>Hard (I may or may not have solved it):</h3> <p> <table><tr><td> <a href="/bbs/?pid=132496#p"> <img src="/bbs/thumbs/pico8_hacking4_2-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=132496#p"> hacking4_2</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=132496#p"> [Click to Play]</a> </td></tr></table> </p> <h2>Solution:</h2> <p><div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"><br /> Make a table. In this example it is called p;<br /> Set the table to:{x=0,y=0} or {y=0,x=0};<br /> Modify the _draw() function like so:</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>function _draw() cls() if(btnp(⬆️)and p.y&gt;0)then p.y=p.y-1 elseif(btnp(⬇️)and p.y&lt;15)then p.y=p.y+1 elseif(btnp(⬅️)and p.x&gt;0)then p.x=p.x-1 elseif(btnp(➡️)and p.x&lt;15)then p.x=p.x+1 end spr(1,p.x*8,p.y*8) end</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Type resume and hit enter.<br /> </div></div></div></p> https://www.lexaloffle.com/bbs/?tid=53566 https://www.lexaloffle.com/bbs/?tid=53566 Fri, 28 Jul 2023 12:53:12 UTC Mutation Nation <h2>My submission for the Summer Slow Jams 2023: Idle</h2> <p>Mutation Mayhem (a prototype)<br /> Its kinda like a base building/defense game.<br /> I dunno anymore. You can play it yourself if you want.</p> <p> <table><tr><td> <a href="/bbs/?pid=130899#p"> <img src="/bbs/thumbs/pico8_mutation_nation-5.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=130899#p"> mutation_nation</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=130899#p"> [Click to Play]</a> </td></tr></table> </p> <p>Available on itch: <a href="https://guest122ev.itch.io/mutation-nation">https://guest122ev.itch.io/mutation-nation</a></p> https://www.lexaloffle.com/bbs/?tid=53075 https://www.lexaloffle.com/bbs/?tid=53075 Tue, 13 Jun 2023 15:01:27 UTC Better Chatbot <h2>LIDA: the sequel</h2> <p>This is a better chatbot (i hope).<br /> Same kind of idea: you write and Lida responds.<br /> You will need to press ➡️ to make Lida respond.<br /> Hopefully, it is less chatbot-y.<br /> It saves your conversation in a p8l file called chatp.p8l.<br /> Again, avoid using punctuation (?,.;!&quot;).<br /> Colons and apostrophes should work.</p> <h3>Second version:</h3> <p>Small update with more prompts;<br /> Removed spritesheet.</p> <p> <table><tr><td> <a href="/bbs/?pid=128219#p"> <img src="/bbs/thumbs/pico8_chatp-3.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=128219#p"> chatp</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=128219#p"> [Click to Play]</a> </td></tr></table> </p> <h3>First version:</h3> <p> <table><tr><td> <a href="/bbs/?pid=128219#p"> <img src="/bbs/thumbs/pico8_chatp-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=128219#p"> chatp</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=128219#p"> [Click to Play]</a> </td></tr></table> </p> <p>Code is now much more readable and efficient.<br /> Removed some prompts but added a lot more.<br /> E.g.: removed &quot;who is your creator&quot; prompt;<br /> removed &quot;what came first: the chicken or the egg&quot; prompt.</p> https://www.lexaloffle.com/bbs/?tid=52336 https://www.lexaloffle.com/bbs/?tid=52336 Thu, 06 Apr 2023 13:26:41 UTC Maze Solving Algorithms <h2>Maze solving algorithms</h2> <h1>Random</h1> <p> <table><tr><td> <a href="/bbs/?pid=125359#p"> <img src="/bbs/thumbs/pico8_randmaze-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=125359#p"> randmaze</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=125359#p"> [Click to Play]</a> </td></tr></table> </p> <h3>Note:</h3> <h3>Takes ages, so I made it faster</h3> <h3>Rating:2/10</h3> <h1>Breadth-First Search</h1> <p> <table><tr><td> <a href="/bbs/?pid=125359#p"> <img src="/bbs/thumbs/pico8_bfsmaze-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=125359#p"> bfsmaze</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=125359#p"> [Click to Play]</a> </td></tr></table> </p> <h3>Note:</h3> <h3>Actually not bad, although will search a lot</h3> <h3>Rating:4/10</h3> <h1>Depth-First Search</h1> <p> <table><tr><td> <a href="/bbs/?pid=125359#p"> <img src="/bbs/thumbs/pico8_dfsmaze-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=125359#p"> dfsmaze</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=125359#p"> [Click to Play]</a> </td></tr></table> </p> <h3>Note:</h3> <h3>Worse than BFS, because it misses nearby targets</h3> <h3>Rating:3/10</h3> <h1>Wall-Follower</h1> <p> <table><tr><td> <a href="/bbs/?pid=125359#p"> <img src="/bbs/thumbs/pico8_wall_follower-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=125359#p"> wall_follower</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=125359#p"> [Click to Play]</a> </td></tr></table> </p> <h3>Note:</h3> <h3>Might fail with loops</h3> <h3>Rating:4/10</h3> <h1>Dead-End Filling Algorithm</h1> <p> <table><tr><td> <a href="/bbs/?pid=125359#p"> <img src="/bbs/thumbs/pico8_dead_end_filling-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=125359#p"> dead_end_filling</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=125359#p"> [Click to Play]</a> </td></tr></table> </p> <h3>Note:</h3> <h3>Will fail with loops</h3> <h3>Produces a path</h3> <h3>Rating:5/10</h3> <h1>A*</h1> <p>Too lazy to code my own.<br /> Instead, check this one made by <a href="https://www.lexaloffle.com/bbs/?uid=15232"> @dw817</a>:</p> <p><a href="https://www.lexaloffle.com/bbs/?pid=115379#p">https://www.lexaloffle.com/bbs/?pid=115379#p</a></p> https://www.lexaloffle.com/bbs/?tid=51493 https://www.lexaloffle.com/bbs/?tid=51493 Sun, 05 Feb 2023 11:57:11 UTC Collatz Conjecture <p>Program which tests every number from 2 to 0/0 for the collatz conjecture(yes, I know we already proved up to 2^68).<br /> Makes a sound if the number does follow the conjecture.<br /> To the right is the number it is testing, and to the left is the operation results.<br /> Saves the results to a file.<br /> And I didn't try to make memory efficient.<br /> <table><tr><td> <a href="/bbs/?pid=124294#p"> <img src="/bbs/thumbs/pico8_collatz-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=124294#p"> collatz</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=124294#p"> [Click to Play]</a> </td></tr></table> <br /> Fixed producing negative numbers.<br /> <table><tr><td> <a href="/bbs/?pid=124294#p"> <img src="/bbs/thumbs/pico8_collatz-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=124294#p"> collatz</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=124294#p"> [Click to Play]</a> </td></tr></table> <br /> Without the fix.</p> https://www.lexaloffle.com/bbs/?tid=51159 https://www.lexaloffle.com/bbs/?tid=51159 Sat, 14 Jan 2023 15:01:45 UTC Chatbot <p>A small chatbot.<br /> It uses a dictionary of text and responses, so it can't reply to everything.</p> <p>Should work online.<br /> Try to not use punctuation (?,.;!&quot;), as that isn't something it understands too well. Apostrophes and colons should be fine though.<br /> Please, leave any errors or suggestions below as I am trying to make it better.</p> <p>Better version of the chatbot as it is a bit less chatbot-y.<br /> You will need to press ➡️ to say what you wrote.<br /> <table><tr><td> <a href="/bbs/?pid=122161#p"> <img src="/bbs/thumbs/pico8_chatp-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=122161#p"> chatp</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=122161#p"> [Click to Play]</a> </td></tr></table> </p> <p> <table><tr><td> <a href="/bbs/?pid=122161#p"> <img src="/bbs/thumbs/pico8_chatbot-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=122161#p"> chatbot</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=122161#p"> [Click to Play]</a> </td></tr></table> <br /> Note: It isn't an algorithm or loneliness defeating, Lida chose it's own name and doesn't understand these concepts.</p> https://www.lexaloffle.com/bbs/?tid=50592 https://www.lexaloffle.com/bbs/?tid=50592 Sat, 10 Dec 2022 17:33:05 UTC Clicking a menuitem tries to call _superyield <p>In my code, I used menuitems as a way of interaction with the game.</p> <p>When you run it, if you go to the command line, set items.planks to true and go back to the game and pause, press level 1 and then press move, it shows an error, about trying to call _superyield with flip().</p> <p>I don't know if this is something bad or not, as I don't understand yield(), _superyield and flip() since I never used any of these.</p> <p>The error:</p> <img style="margin-bottom:16px" border=0 src="/media/62268/pause_0.png" alt="" /> <p>The code (tried to remove the useless stuff):</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>function _init() menuitem(1,&quot;level 1&quot;,level1) items={ planks=false } end function _draw() end function level1() menuitem(1,&quot;move&quot;,move) end function move() return true end </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> https://www.lexaloffle.com/bbs/?tid=50272 https://www.lexaloffle.com/bbs/?tid=50272 Fri, 18 Nov 2022 19:23:08 UTC Prey Vs Predator <h3>A small simulator of Prey Vs Predator.</h3> <p>All creatures can only move in one of four directions: up, down, left, right.<br /> Moving consumes an energy point.</p> <p>If a prey runs out of energy, it can't move that turn.<br /> It may choose to not move even with energy.<br /> If any of these happen, then it gets 1 energy point.</p> <p>Predators also can run out of energy. It they do, they die. To get energy, they need to eat prey. If they do, they get full energy and 2 more predators appear.</p> <p>The objective of prey is to outlive the predator.<br /> The objective of predator is to kill all prey (yes, I know that they die after that. Just ignore that for now).</p> <p>If a prey is next to a predator (not diagonally), has energy and wishes to move, it will move away from the predator.<br /> If a predator is next to a prey (not diagonally) and wishes to move, it will eat the prey, but if it had 1 energy before eating, the prey survives and the predator dies.</p> <p>If none of the above are met, the creatures will move around randomly.</p> <p>Pretty much everything is customisable, although it might run slower.</p> <p>If you wish (or made a huge map), you can move the cam with the arrow keys.</p> <p>Added prey splitting. They split every set amount of turns (configurable) and have a random chance of splitting (also configurable).</p> <p> <table><tr><td> <a href="/bbs/?pid=120621#p"> <img src="/bbs/thumbs/pico8_prey_vs_pred-5.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=120621#p"> prey_vs_pred</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=120621#p"> [Click to Play]</a> </td></tr></table> </p> <h2>Doesn't need pico-8 terminal. Yay!</h2> <h3>Without prey splitting version:</h3> <p> <table><tr><td> <a href="/bbs/?pid=120621#p"> <img src="/bbs/thumbs/pico8_prey_vs_pred-4.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=120621#p"> prey_vs_pred</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=120621#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=50213 https://www.lexaloffle.com/bbs/?tid=50213 Sun, 13 Nov 2022 19:40:06 UTC Virus <p>A sort of computer virus.<br /> It is able to spread and has a maximum depth of 3.<br /> It won't spread to other hosts but is able to travel up between folders (don't know why).</p> <p>As soon as you run it, it begins the process, so be careful, I guess.</p> <h3>Cures</h3> <p>Deleting the cartridge,<br /> Renaming everything important to you so that the name has a -(hyphen), including folders,<br /> Or putting the cart in a folder with nothing in it.</p> <p> <table><tr><td> <a href="/bbs/?pid=120549#p"> <img src="/bbs/thumbs/pico8_cvirus-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=120549#p"> UFNR</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=120549#p"> [Click to Play]</a> </td></tr></table> </p> <p>UFNR doesn't (in this case) stand for anything.<br /> Definition of computer virus (for the nerdy ones): a piece of code that can duplicate itself, with usually a harmful intention or effect. UFNR can spread but doesn't really do anything else.</p> https://www.lexaloffle.com/bbs/?tid=50192 https://www.lexaloffle.com/bbs/?tid=50192 Sat, 12 Nov 2022 17:55:51 UTC Flood <p>Sorry, I guess? is a </p> <h2>file flooder.</h2> <p>And as usual, it needs to be executed in the app, otherwise it just displays Sorry, I guess?<br /> This is because it uses ls().<br /> It is my biggest cart ever with,</p> <h3>Drumroll please...</h3> <h2>32875 characters</h2> <h2>158% compressed size(almost).</h2> <h3>10 file version:</h3> <p> <table><tr><td> <a href="/bbs/?pid=120495#p"> <img src="/bbs/thumbs/pico8_flood_1-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=120495#p"> flood_1</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=120495#p"> [Click to Play]</a> </td></tr></table> </p> <h3>64 file version:</h3> <p> <table><tr><td> <a href="/bbs/?pid=120495#p"> <img src="/bbs/thumbs/pico8_flood-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=120495#p"> flood</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=120495#p"> [Click to Play]</a> </td></tr></table> </p> <p>Sorry for any damage.<br /> It is harmless and can be removed.</p> <p>Btw, any way to make more efficient?</p> https://www.lexaloffle.com/bbs/?tid=50176 https://www.lexaloffle.com/bbs/?tid=50176 Fri, 11 Nov 2022 19:25:15 UTC Jelpi pain <p>An edit of the Jelpi demo to showcase glitches and bring pain to all!<br /> <table><tr><td> <a href="/bbs/?pid=120447#p"> <img src="/bbs/thumbs/pico8_jelpipain-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=120447#p"> jelpipain</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=120447#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=50155 https://www.lexaloffle.com/bbs/?tid=50155 Thu, 10 Nov 2022 16:04:31 UTC HackTheCart 2 <p>Hone your cart hacking abilities with this HackTheBox like cart!<br /> Your objective is to get to the hidden link using the terminal.<br /> I suggest you don't look at the code before solving it as that will ruin the fun.<br /> Also, you don't have to brute force the link. There is a genuine solution.</p> <p>What you know:<br /> All the links are stored in a table called links, but the links are local. What now? Hmm...</p> <p>Have fun solving this challenge!</p> <p> <table><tr><td> <a href="/bbs/?pid=119938#p"> <img src="/bbs/thumbs/pico8_hacking2-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=119938#p"> hacking2</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=119938#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=49999 https://www.lexaloffle.com/bbs/?tid=49999 Tue, 01 Nov 2022 10:58:50 UTC P8-DOS <h3>Discontinued</h3> <p>A MS-DOS inspired command line VM.</p> <p>Features:<br /> Check date and time,<br /> View files,<br /> Make new files,<br /> Delete files,<br /> Recycle bin so you don't accidentally lose your files,<br /> Explore the virtual web, which may or may not delete all your files,<br /> Make a custom website,<br /> And a secret function which isn't documented.</p> <p>There sadly isn't support for folders yet.<br /> I tried to maintain the usual names, but I didn't want to mess around, changing built-in functions.<br /> Remember h() for help!</p> <p>V. 1.2:</p> <p>Changes:<br /> Added customweb()</p> <p> <table><tr><td> <a href="/bbs/?pid=119865#p"> <img src="/bbs/thumbs/pico8_p8dosv1_2-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=119865#p"> p8dosv1_2</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=119865#p"> [Click to Play]</a> </td></tr></table> </p> <p>V. 1.1:</p> <p> <table><tr><td> <a href="/bbs/?pid=119865#p"> <img src="/bbs/thumbs/pico8_p8dos-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=119865#p"> p8dos</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=119865#p"> [Click to Play]</a> </td></tr></table> </p> <p>Note: When exploring the web, maybe protect your ears.<br /> I am terribly sorry if the sounds cause some problems.<br /> Also, don't store important data in the VM, because it may get deleted.<br /> And as usual, you need to use the p8 terminal.</p> https://www.lexaloffle.com/bbs/?tid=49976 https://www.lexaloffle.com/bbs/?tid=49976 Sun, 30 Oct 2022 19:09:14 UTC HackTheCart 1 <p>Hone your cart hacking abilities with this HackTheBox like cart!<br /> Your objective is to get the admin password using the terminal.<br /> I suggest you don't look at the code before solving it as that will ruin the fun.<br /> Also, you don't have to brute force the password. There is a genuine solution.</p> <p>What you know:<br /> All the accounts and their passwords are stored in a table called users.</p> <p>Have fun solving this challenge!</p> <p> <table><tr><td> <a href="/bbs/?pid=119318#p"> <img src="/bbs/thumbs/pico8_hacking1-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=119318#p"> hacking1</a><br><br> by <a href="/bbs/?uid=62268"> Guest122</a> <br><br><br> <a href="/bbs/?pid=119318#p"> [Click to Play]</a> </td></tr></table> </p> <p>You will need to download the cart so you can use the terminal on it.</p> https://www.lexaloffle.com/bbs/?tid=49851 https://www.lexaloffle.com/bbs/?tid=49851 Wed, 19 Oct 2022 17:45:09 UTC