snake-map-gen

command module
v0.0.0-...-8e4c872 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

README

snake-map-gen

A quick fork of ascii-image-generator

snake-map-gen is a command-line tool that converts images into ascii art, and subsequently run-length encoded maps for Snake!

Supported input formats:

  • JPEG/JPG
  • PNG
  • BMP
  • WEBP
  • TIFF/TIF
  • GIF

Installation

Either download and run the executable in a folder of your choosing or download the code provided here and compile it with Go.

Usage

In the same folder as the executable, open your command prompt and enter snake-map-gen.exe <PATH_TO_IMAGE>. That easy!

Kirby

If the image is too big, you can put -H <NUMBER> after the file name to adjust the height. The map generator will try to automatically place your snake in the best place, but this might not always be where you want! Feel free to move the snake around afterwards.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL