3
This is the Robbers' thread. Cops' thread is here.
Background
Boggle is a board game where the players have to find English words on a 4-by-4 board of random alphabets. Words can be constructed by selecting sequentially adjacent cells on the board. ("adjacent" means horizontally, vertically or diagonally adjacent.) Also, same cell can't be used more than once in a word.
The following is an example board:
I L A W
B N G E
I U A O
A S R L
On this board, BINGO
, ORANGE
and WEARS
are valid words, but SURGE
and RUSSIA
are not:
SURGE
: There's no adjacent pair on the board havingRG
.RUSSIA
:S
cannot be used twice.
Modified Boggle is a modified version of Boggle, with the following rules:
- The board size is
m
-by-n
, wherem
andn
can be any positive integer. - Each cell can contain any one byte between 0 and 255 inclusive.
- A cell can be used more than once, but not twice in a row.
Using the example board above, in addition to BINGO
, ORANGE
and WEARS
, LANGUAGE
becomes a valid string (since G
is used twice, but not twice in a row) but RUSSIA
is still not (due to SS
pair).
Here is another example using a code fragment. The string from itertools import*\n
can be found on the following board, but not from itertoosl import*
or from itertools import *
:
f i ' ' s
r t m l
e o o p
\n * t r
Note that you need two o
's in order to match the oo
sequence.
Robber's challenge
Pick a cop's submission which isn't yet cracked or marked safe. In the given language, find a full program that fits in the code board which outputs some string that fits in the output board. The program's length should be equal or less than given, and the output's should be equal or greater.
Scoring for robbers
Each successful crack counts as a score of 1. The user with the greatest score wins.
Robber example & formatting
# Japt, code 8 bytes, output 21 bytes, [Bubbler](link-to-cops-post)
`líÏ`íÏl
[Try it online!](link-to-tio)
The output is `112624120720504040320`.
Modified Boggle verification script
All of the scripts below have an example input with it.
Script for character string(code/output) & boggle. This does not support multi-line string. The input format is
- a single line of string (either code or output), followed by
- the raw boggle board.
Script for character string with byte-value boggle. Use this if the target string is printable but has one or more newlines in it. The input format is
- the number of lines for the string,
- raw string (possibly multi-line), then
- the boggle board as byte values.
Script for byte-value string & boggle. Use this if the target string contains one or more unprintable characters. The input format is
- a single line of string (either code or output) as byte values, followed by
- the boggle board as byte values.
Nice! I was really hoping the weird parentheses would keep it alive for a bit longer. Three improvements I can see right away in yours over mine are
[][[]]
instead of[][+[]]
forundefined
and![]+!+[]+..
instead of+!+[]+!+[]+..
for the numbers, and coercing strings to integers, especially forc
ando
. – Khuldraeseth na'Barya – 2018-10-05T11:40:21.667