Skip to content

Instantly share code, notes, and snippets.

View mino9421's full-sized avatar

Mino mino9421

View GitHub Profile
const canvas = document.getElementById('tetris');
const context = canvas.getContext('2d');
context.scale(20, 20);
function arenaSweep() {
let rowCount = 1;
outer: for (let y = arena.length -1; y > 0; --y) {
for (let x = 0; x < arena[y].length; ++x) {
if (arena[y][x] === 0) {

Hello World! 👋

import json

const ArmenLevonArmen = {