Javascript tutorial: Code a Tetris game, part 1 (setup, moving/rotating pieces)

preview_player
Показать описание
Modern Javascript tutorial: Code a Tetris game, part 1 (setup, moving/rotating pieces)

Timestamps:
00:00 Intro to Tetris game using modern Javascript (ES6)
00:01 Demo of the game
01:15 Start coding - initialization (set up constants, HTML5 Canvas etc.)
03:53 Code the Board class
06:07 Tetrominoes - Theory
07:59 Code the Piece (Tetromino) class
12:54 Moving pieces - Theory
13:51 Code the Moving pieces part
20:53 Rotating pieces - Theory
21:24 Code the Rotating pieces part

* Credits:
Music: C Major Prelude – Bach (No Copyright Music)

Tags:
#javascript #es6 #gamedev #gamedevelopment
#js #vscode #tutorial #javascripttutorial #guide
#programming #coding #devlog #objectorientedprogramming
Modern Javascript (ES6), Classes, Spread syntax,
Arrow functions, Object destructuring, HTML5 Canvas API
Рекомендации по теме
Комментарии
Автор

Timestamps:
00:00 - Intro to Tetris game using modern Javascript (ES6)
00:01 - Demo of the game
01:15 - Start coding - initialization (set up constants, HTML5 Canvas etc.)
03:53 - Code the Board class
06:07 - Tetrominoes - Theory
07:59 - Code the Piece (Tetromino) class
12:54 - Moving pieces - Theory
13:51 - Code the Moving pieces part
20:53 - Rotating pieces - Theory
21:24 - Code the Rotating pieces part

EmiliaKaida
Автор

I like how you remove any need to use if/else in the part of moving pieces. Great solution!!!

huonghuong
Автор

Cool video, great! I learned a ton from this tutorial, thanks!

minidragonlady
Автор

Nice tutorial! I like the approach you used :)

tieulongnu
Автор

Nice! :)
Do you have a discord channel?

nataliep