We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Frogrid

From Esolang
Jump to navigation Jump to search
This is still a work in progress. It may be changed in the future.

Frogrid is an esolang made by User:Esterdae!

aAs you can guess from the language's name, you have to RID the FROGs on a GRID of FROGs and you must learn how a frog jumps but never walks

A frog must jump over another frog into an empty cell

a what i call the frogscosity of a grid of a by b is a very useful metric

Frog direction Command execution
up Toggle between t0 and t1 and by default it starts at t0
down if t0, append input bit if t1, remove the first 8 bits and print it in ASCII
left if t0, duplicate first bit if t1, append 0
right if t0, take the first two bits and NAND them replacing the two bits if t1, move the first bit to the last bit
frog directional preference
up
left
right
down

a There are also LAZY TOADs which do not move at all and are too big for a frog to jump over!

f is for frog

t is for toad

_ is for cell

Example program:

f_tt
ffff
ffff

up

fftt
ffff
f_ff

left

fftt
ffff
fff_

right

fftt
ffff
f_ff

Then it alternates the last two forever and has low frogscosity

aBut as you can see, the last two are actually what I like to call a FROG ZONE where the frogging of the program state is stable

Its time to introduce a way to change a program state's frogscosity!

a FIREFLIES can be eaten by a frog if a frog jumps into a space with a FIREFLY and then the frog that ate it dies due to FIREFLIES being poisonous to frogs

a TADPOLEs appear whenever a frog jumps over another frog then the frog that was jumped, reciprocated and jumps over the original frog and the empty cell is filled in with a TADPOLE

A simple tadpole cannot jump over frogs and must only swim to the empty cell but doesn't do the frog commands because it is too young for such important responsibilities

F is for firefly

T is for tulip