For this assignment you will use JavaScript to create a game called Same Game (may
have other names as well). The figures below show the game progression. Your styling
may be different, of course.
Figure 1: Start of normal game, 4 colors. Notice 4 red tiles
forming a T on fifth row from top.
Figure 2: Removed 4 adjacent red tiles, see score = (4*3) and
tiles above the removed ones have moved down.
Figure 3: Start of Same Game using only 2 colors (for testing).
Figure 4: No tiles left, player wins.
Figure 5: No adjacent tiles of same color, player loses.
Be sure to read the specific requirements, as some are not
obvious just by looking at the figures.
Hints
This game will make use of the HTML Canvas. If you're not familiar with it,
w3schools is a good place to start.