Public
Edited
Dec 16, 2022
Insert cell
Insert cell
# Games in observable

What you need

- a board that displays the current game state
- a input that lets a player take their turn (in this case a random number, but might also be the piece they want to move)
- a Game object that handles the rules, and can return a new game state, given a previous one, plus the user's input


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.
Learn more