cat
/
rect.run
/
clone
ssh
copy
https
copy
a daily shikaku puzzle for phones: one seeded puzzle per date, solved by dragging rectangles
code
commits
branches
reviews
insights
main
all branches
rect.run
/
lib
/
shikaku
/
clue_symbol.ts
history
clue_symbol.ts
278B
blame
history
wrap lines
copy
1
const
CLUE_SYMBOLS
=
new
Map
<
number
,
string
>([
2
[
1
,
"•"
],
3
[
2
,
"▬"
],
4
[
3
,
"▲"
],
5
[
4
,
"■"
],
6
[
5
,
"⬟"
],
7
[
6
,
"⬢"
],
8
[
7
,
"✦"
],
9
[
8
,
"⬣"
],
10
[
9
,
"◉"
],
11
]);
12
13
export
function
getClueSymbol
(
value
:
number
):
string
{
14
return
CLUE_SYMBOLS
.
get
(value) ??
"◆"
;
15
}