Just a fun or education tool in Pico-8.
It is meant to mimic assembly (no particular version) and has by default 16 registers and 18 commands.
Registers aren't labelled, but they are 1-16.
It is easy to expand or reduce if you want to.
I think it is turing complete, although I am not sure.
To type use the keyboard (no support for mobile), enter to make a new line and right arrow to run.
List of commands:
After two months-ish of planning and coding....
I introduce to you...
SECS-OS!
SECS (Securely Encrypted Computer System, don't quote me on this) is a successor to my previous P8-DOS.
Featuring:
A GUI;
A terminal that is definitely not scuffed;
A text editor that is also not scuffed;
A calculator that is actually decent?;
And most importantly:
A login page!
SECS has a built-in weird hashing-like algorithm, to protect you and your system.
You are able to see any folder from within SECS (no idea why it works) and generate .txt files that you can later open.
To make a new line in the text editor, use the right arrow key.
To save the file, use the left arrow key.
To run a command, use the right arrow key.
Due to the high security of this project, the operating system can't be installed directly.
If you would like to give it a try, here it is:
Just the list of chr() numbers and corresponding outputs.
Some are invisible, like chr(8) since this is backspace or chr(129)(▒) for no reason (?).
https://www.lexaloffle.com/bbs/files/62268/testing.txt.
As the above file is weird, you can check it out on google drive:
https://drive.google.com/file/d/1DdpsxRyfPPM7pB-ukgd8aD_0eL-WqgrU/view.
Small circuit sim I made inspired by Virtual Circuit Board.
Includes wires, lights, switches, and gates and not gates.
Everything should feel intuitive.
If you find any bugs, please let me know!
Version 1.1 is here!
Changelog:
Mobile version:
Version 1.0:
Changelog:
As a challenge, try to make a smaller xor gate.
How tiles are counted:
Xor gate list: (1.0+)
Things I probably should add:
Extremely simple password generator.
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.
It features 7 character sets.
And that is pretty much it.
Small cart that features simple encryption/decryption methods.
Hone your cart hacking abilities with this HackTheBox-like cart!
Simple premise:
You control a square which can move around the screen.
Your goal is to move out of the top left corner and after, without triggering btnp(), get back into the top left corner.
Sounds simple enough.
In fact, I will even let you look at the code!
It is very difficult, so I made an easier version of it for you to try out first.
You will need to download the cart to solve the challenge.
Have fun solving this challenge!
Easier version (try this one first!):
Solution:
Hard (I may or may not have solved it):
Solution:
My submission for the Summer Slow Jams 2023: Idle
Mutation Mayhem (a prototype)
Its kinda like a base building/defense game.
I dunno anymore. You can play it yourself if you want.
Available on itch: https://guest122ev.itch.io/mutation-nation
LIDA: the sequel
This is a better chatbot (i hope).
Same kind of idea: you write and Lida responds.
You will need to press ➡️ to make Lida respond.
Hopefully, it is less chatbot-y.
It saves your conversation in a p8l file called chatp.p8l.
Again, avoid using punctuation (?,.;!").
Colons and apostrophes should work.
Second version:
Small update with more prompts;
Removed spritesheet.
First version:
Code is now much more readable and efficient.
Removed some prompts but added a lot more.
E.g.: removed "who is your creator" prompt;
removed "what came first: the chicken or the egg" prompt.
Maze solving algorithms
Random
Note:
Takes ages, so I made it faster
Rating:2/10
Breadth-First Search
Note:
Actually not bad, although will search a lot
Rating:4/10
Depth-First Search
Note:
Worse than BFS, because it misses nearby targets
Rating:3/10
Wall-Follower
Note:
Might fail with loops
Rating:4/10
Dead-End Filling Algorithm
Note:
Will fail with loops
Produces a path
Rating:5/10
A*
Too lazy to code my own.
Instead, check this one made by @dw817:
Program which tests every number from 2 to 0/0 for the collatz conjecture(yes, I know we already proved up to 2^68).
Makes a sound if the number does follow the conjecture.
To the right is the number it is testing, and to the left is the operation results.
Saves the results to a file.
And I didn't try to make memory efficient.
Fixed producing negative numbers.
Without the fix.
A small chatbot.
It uses a dictionary of text and responses, so it can't reply to everything.
Should work online.
Try to not use punctuation (?,.;!"), as that isn't something it understands too well. Apostrophes and colons should be fine though.
Please, leave any errors or suggestions below as I am trying to make it better.
Better version of the chatbot as it is a bit less chatbot-y.
You will need to press ➡️ to say what you wrote.
Note: It isn't an algorithm or loneliness defeating, Lida chose it's own name and doesn't understand these concepts.
In my code, I used menuitems as a way of interaction with the game.
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().
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.
The error:
The code (tried to remove the useless stuff):
function _init() menuitem(1,"level 1",level1) items={ planks=false } end function _draw() end function level1() menuitem(1,"move",move) end function move() return true end |
A small simulator of Prey Vs Predator.
All creatures can only move in one of four directions: up, down, left, right.
Moving consumes an energy point.
If a prey runs out of energy, it can't move that turn.
It may choose to not move even with energy.
If any of these happen, then it gets 1 energy point.
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.
The objective of prey is to outlive the predator.
The objective of predator is to kill all prey (yes, I know that they die after that. Just ignore that for now).
If a prey is next to a predator (not diagonally), has energy and wishes to move, it will move away from the predator.
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.
If none of the above are met, the creatures will move around randomly.
Pretty much everything is customisable, although it might run slower.
If you wish (or made a huge map), you can move the cam with the arrow keys.
Added prey splitting. They split every set amount of turns (configurable) and have a random chance of splitting (also configurable).
Doesn't need pico-8 terminal. Yay!
Without prey splitting version:
A sort of computer virus.
It is able to spread and has a maximum depth of 3.
It won't spread to other hosts but is able to travel up between folders (don't know why).
As soon as you run it, it begins the process, so be careful, I guess.
Cures
Deleting the cartridge,
Renaming everything important to you so that the name has a -(hyphen), including folders,
Or putting the cart in a folder with nothing in it.
UFNR doesn't (in this case) stand for anything.
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.
Sorry, I guess? is a
file flooder.
And as usual, it needs to be executed in the app, otherwise it just displays Sorry, I guess?
This is because it uses ls().
It is my biggest cart ever with,
Drumroll please...
32875 characters
158% compressed size(almost).
10 file version:
64 file version:
Sorry for any damage.
It is harmless and can be removed.
Btw, any way to make more efficient?
An edit of the Jelpi demo to showcase glitches and bring pain to all!
Hone your cart hacking abilities with this HackTheBox like cart!
Your objective is to get to the hidden link using the terminal.
I suggest you don't look at the code before solving it as that will ruin the fun.
Also, you don't have to brute force the link. There is a genuine solution.
What you know:
All the links are stored in a table called links, but the links are local. What now? Hmm...
Have fun solving this challenge!
Discontinued
A MS-DOS inspired command line VM.
Features:
Check date and time,
View files,
Make new files,
Delete files,
Recycle bin so you don't accidentally lose your files,
Explore the virtual web, which may or may not delete all your files,
Make a custom website,
And a secret function which isn't documented.
There sadly isn't support for folders yet.
I tried to maintain the usual names, but I didn't want to mess around, changing built-in functions.
Remember h() for help!
V. 1.2:
Changes:
Added customweb()
V. 1.1:
Note: When exploring the web, maybe protect your ears.
I am terribly sorry if the sounds cause some problems.
Also, don't store important data in the VM, because it may get deleted.
And as usual, you need to use the p8 terminal.
Hone your cart hacking abilities with this HackTheBox like cart!
Your objective is to get the admin password using the terminal.
I suggest you don't look at the code before solving it as that will ruin the fun.
Also, you don't have to brute force the password. There is a genuine solution.
What you know:
All the accounts and their passwords are stored in a table called users.
Have fun solving this challenge!
You will need to download the cart so you can use the terminal on it.
View Older Posts