Handbook
Glossary
drunken-bishop. ( n -- )
Vocabulary
drunken-bishop
Inputs
n
an
object
Outputs
None
Definition
IN:
drunken-bishop
GENERIC:
drunken-bishop.
( n -- )
Methods
USING:
byte-arrays
drunken-bishop
drunken-bishop.private
io
kernel
namespaces
sequences
strings
;
M:
byte-array
drunken-bishop.
board-width
get
45
<string>
"+"
"+"
surround
[
print
drunken-bishop
[
SYMBOLS
nths
"|"
"|"
surround
print
]
each
]
[
print
]
bi
;
USING:
drunken-bishop
endian
kernel
math
;
M:
integer
drunken-bishop.
dup
log2
8
/mod
zero?
[
1
+
]
unless
>be
drunken-bishop.
;
USING:
drunken-bishop
hex-strings
strings
;
M:
string
drunken-bishop.
hex-string>bytes
drunken-bishop.
;