Is there a way to make some thing like this in makecode?

It is probably possible, these are some of the closest attempts I know of: