Skip to content

Instantly share code, notes, and snippets.

@brianmcaudill
brianmcaudill / tetris-song-js-8-bit.html
Last active August 4, 2024 16:05
tetris song in javascript
<!DOCTYPE html>
<html>
<head>
<title>Tetris Theme with Web Audio API</title>
</head>
<body>
<!-- Button to trigger the song -->
<button onclick="playTetrisTheme()">Play Tetris Theme</button>
<script>