HTML로 테트리스(Tetris) 게임 만들기
HTML로 테트리스(Tetris) 게임 만들기 1. 모양 정하기 var flag_ing = true;//현재 게임을 하고있는중인지 아닌지 //stack2D -> 쌓여있는 블럭 var stack2D = [ [0,0,0,0,0, 0,0,0,0,0], [0,0,0,0,0, 0,0,0,0,0], [0,0,0,0,0, 0,0,0,0,0], [0,0,0,0,0, 0,0,0,0,0], [0,0,0,0,0, 0,0,0,0,0], [0,0,0,0,0, 0,0,0,0,0], [0,0,0,0,0, 0,0,0,0,0], [0,0,0,0,0, 0,0,0,0,0], [0,0,0,0,0, 0,0,0,0,0], [0,0,0,0,0, 0,0,0,0,0], [0,0,0,0,0, 0,0,0,0,0], [0,0,0,0,0, 0,0,0,0,..
2021. 5. 21.