Skip to main content
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Source Link

This is the first in a series of Island Golf challenges. Next challengeNext challenge

This is the first in a series of Island Golf challenges. Next challenge

This is the first in a series of Island Golf challenges. Next challenge

Added link to Island Golf #2
Source Link
DLosc
  • 41.1k
  • 6
  • 92
  • 147

This is the first in a series of Island Golf challenges. Next challenge

Given an island in ASCII-art, output an optimal path to circumnavigate it.

Given an island in ASCII-art, output an optimal path to circumnavigate it.

This is the first in a series of Island Golf challenges. Next challenge

Given an island in ASCII-art, output an optimal path to circumnavigate it.

Clarified language about lists of characters
Source Link
DLosc
  • 41.1k
  • 6
  • 92
  • 147

Your input and output may be a multiline string or a list of strings. IfIf your language representshas a character type distinct from single-character strings as lists of characters, you may substitute "list of characters" for "string" in the previous sentence. If your language needs to input the height and/or width of the grid, you may do so. Your output may (optionally) have a single trailing newline. As mentioned above, you may use any three distinct characters in place of #.o (please specify in your submission which characters you're using).

Your input and output may be a multiline string or a list of strings. If your language represents strings as lists of characters, you may substitute "list of characters" for "string" in the previous sentence. If your language needs to input the height and/or width of the grid, you may do so. Your output may (optionally) have a single trailing newline. As mentioned above, you may use any three distinct characters in place of #.o (please specify in your submission which characters you're using).

Your input and output may be a multiline string or a list of strings. If your language has a character type distinct from single-character strings, you may substitute "list of characters" for "string" in the previous sentence. If your language needs to input the height and/or width of the grid, you may do so. Your output may (optionally) have a single trailing newline. As mentioned above, you may use any three distinct characters in place of #.o (please specify in your submission which characters you're using).

Added a test case
Source Link
DLosc
  • 41.1k
  • 6
  • 92
  • 147
Loading
Tweeted twitter.com/StackCodeGolf/status/844698458040799232
Source Link
DLosc
  • 41.1k
  • 6
  • 92
  • 147
Loading