Translator Reference

Translator.translator.decode(s)[source]

Takes six bytes s and returns a point (tuple of coordinates)

Translator.translator.decode_nine(s)[source]

Decode nine points from s

Translator.translator.encode(vect)[source]

Takes a vect and converts it to six bytes

Translator.translator.go_through_brainfuck(file_name, point, use_python=False)[source]

Passes point through the brainfuck file file_name Returns a list of translated points

Translator.translator.translate_segments(segments, use_python=False)[source]

Translate and copies each segment from the list segments in all eight directions