Platform
Resources
Pricing
Sign in
Get started
Visnu Pitiyanuvath
Workspace
Fork
Public
Games
By
Visnu Pitiyanuvath
Edited
Sep 26, 2023
2 stars
Insert cell
Insert cell
Insert cell
Insert cell
{
refresh
;
const
display
=
new
ROT
.
Display
(
{
fg
:
"black"
,
bg
:
"white"
}
)
;
const
digger
=
new
ROT
.
Map
[
generator
]
(
)
;
digger
.
create
(
(
x
,
y
,
wall
)
=>
{
if
(
!
wall
)
display
.
draw
(
x
,
y
,
"█"
)
;
}
)
;
return
display
.
getContainer
(
)
;
}
Insert cell
ROT
=
import
(
"rot-js@2"
)
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
generator
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
refresh
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
ROT
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML