Skip to main content
deleted 10 characters in body
Source Link
Nick Kennedy
  • 21.2k
  • 3
  • 18
  • 44

Jelly, 24 2320 bytes

O_97dZŻ€IṠxAƊ€€Ḥ2¦Z;€0FO_97ŻdZIb1Ḥ2¦Z;€3Fḟ0 

Try it online!Try it online!

A dyadic link taking the word as the left argument and the width as the right. Returns a list of integers where:

-2 = L -1 = U 01 = SelectR 12 = RD 23 = DSelect 

Jelly, 24 23 bytes

O_97dZŻ€IṠxAƊ€€Ḥ2¦Z;€0F 

Try it online!

A dyadic link taking the word as the left argument and the width as the right. Returns a list of integers where:

-2 = L -1 = U 0 = Select 1 = R 2 = D 

Jelly, 24 20 bytes

O_97ŻdZIb1Ḥ2¦Z;€3Fḟ0 

Try it online!

A dyadic link taking the word as the left argument and the width as the right. Returns a list of integers where:

-2 = L -1 = U 1 = R 2 = D 3 = Select 
edited body
Source Link
Nick Kennedy
  • 21.2k
  • 3
  • 18
  • 44

Jelly, 2424 23 bytes

ØaiⱮ’dZŻ€IṠxAƊ€€Ḥ2¦Z;€0FO_97dZŻ€IṠxAƊ€€Ḥ2¦Z;€0F 

Try it online!Try it online!

A dyadic link taking the word as the left argument and the width as the right. Returns a list of integers where:

-2 = L -1 = U 0 = Select 1 = R 2 = D 

Jelly, 24 bytes

ØaiⱮ’dZŻ€IṠxAƊ€€Ḥ2¦Z;€0F 

Try it online!

A dyadic link taking the word as the left argument and the width as the right. Returns a list of integers where:

-2 = L -1 = U 0 = Select 1 = R 2 = D 

Jelly, 24 23 bytes

O_97dZŻ€IṠxAƊ€€Ḥ2¦Z;€0F 

Try it online!

A dyadic link taking the word as the left argument and the width as the right. Returns a list of integers where:

-2 = L -1 = U 0 = Select 1 = R 2 = D 
Source Link
Nick Kennedy
  • 21.2k
  • 3
  • 18
  • 44

Jelly, 24 bytes

ØaiⱮ’dZŻ€IṠxAƊ€€Ḥ2¦Z;€0F 

Try it online!

A dyadic link taking the word as the left argument and the width as the right. Returns a list of integers where:

-2 = L -1 = U 0 = Select 1 = R 2 = D