In this task, we are going to list the pattern in the deck. Later, we will let the player select patterns from this deck.
We need to import the file into the
index.html file, as follows:
Let's work on the pattern with the following steps:
index.htmlfile, we add two DOM elements, namely,
<div id="game-scene" class="scene out"> ... <div id="your-composition"></div> <div id="deck" class="deck"></div> </div>