ScratchData LogoScratchData
Back to PullJosh's profile

Run-Length Encoding (String Compression)

PUPullJosh•Created January 10, 2015
Run-Length Encoding (String Compression)
16
9
507 views
View on Scratch

Instructions

This is a pair of two custom blocks I made for compressing strings and decompressing them. This type of thing won't really help for normal words, but it would work great for level codes or the like! (Anything that has a lot of the same letter in a row would work really well for this.)

Description

If you're interested, you can read more about Run-length encoding here: http://en.wikipedia.org/wiki/Run-length_encoding Feel free to use this for whatever you like! I won't mandate you give credit, but if you do, that'd certainly be nice. :)

Project Details

Project ID42558730
CreatedJanuary 10, 2015
Last ModifiedApril 2, 2015
SharedApril 2, 2015
Visibilityvisible
CommentsAllowed