├── .gitignore ├── LICENCE ├── README.md ├── asteroids ├── css │ └── style.css ├── index.html ├── js │ ├── asteroid.js │ ├── bullet.js │ ├── canvas.js │ ├── endState.js │ ├── gameState.js │ ├── input.js │ ├── lib │ │ └── class.js │ ├── main.js │ ├── menuState.js │ ├── points.js │ ├── polygon.js │ ├── ship.js │ └── state.js └── polygondraw.html ├── flappy ├── index.html ├── res │ └── sheet.png ├── sprite.js └── starter │ ├── index.html │ ├── res │ ├── sheet.png │ ├── sprite1x.png │ └── sprite2x.png │ └── sprite.js ├── index.html ├── pong ├── index.html └── mobile │ └── index.html ├── snake └── index.html ├── space-invaders ├── index.html ├── js │ └── helpers.js └── res │ └── invaders.png ├── tetris ├── css │ └── styles.css ├── index.html ├── js │ ├── class.js │ ├── engine.js │ ├── require.js │ └── src │ │ ├── Block.js │ │ ├── Game.js │ │ ├── GameBoard.js │ │ ├── Numfont.js │ │ ├── Randomizer.js │ │ ├── StatManager.js │ │ ├── Tetramino.js │ │ ├── Tetris.js │ │ └── main.js └── res │ ├── back.png │ ├── blocks.png │ └── numbers.png └── tic-toe ├── game.js ├── index.html ├── parts ├── 1.html └── 2.html └── state.js /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /LICENCE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/LICENCE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/README.md -------------------------------------------------------------------------------- /asteroids/css/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/asteroids/css/style.css -------------------------------------------------------------------------------- /asteroids/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/asteroids/index.html -------------------------------------------------------------------------------- /asteroids/js/asteroid.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/asteroids/js/asteroid.js -------------------------------------------------------------------------------- /asteroids/js/bullet.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/asteroids/js/bullet.js -------------------------------------------------------------------------------- /asteroids/js/canvas.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/asteroids/js/canvas.js -------------------------------------------------------------------------------- /asteroids/js/endState.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/asteroids/js/endState.js -------------------------------------------------------------------------------- /asteroids/js/gameState.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/asteroids/js/gameState.js -------------------------------------------------------------------------------- /asteroids/js/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/asteroids/js/input.js -------------------------------------------------------------------------------- /asteroids/js/lib/class.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/asteroids/js/lib/class.js -------------------------------------------------------------------------------- /asteroids/js/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/asteroids/js/main.js -------------------------------------------------------------------------------- /asteroids/js/menuState.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/asteroids/js/menuState.js -------------------------------------------------------------------------------- /asteroids/js/points.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/asteroids/js/points.js -------------------------------------------------------------------------------- /asteroids/js/polygon.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/asteroids/js/polygon.js -------------------------------------------------------------------------------- /asteroids/js/ship.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/asteroids/js/ship.js -------------------------------------------------------------------------------- /asteroids/js/state.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/asteroids/js/state.js -------------------------------------------------------------------------------- /asteroids/polygondraw.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/asteroids/polygondraw.html -------------------------------------------------------------------------------- /flappy/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/flappy/index.html -------------------------------------------------------------------------------- /flappy/res/sheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/flappy/res/sheet.png -------------------------------------------------------------------------------- /flappy/sprite.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/flappy/sprite.js -------------------------------------------------------------------------------- /flappy/starter/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/flappy/starter/index.html -------------------------------------------------------------------------------- /flappy/starter/res/sheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/flappy/starter/res/sheet.png -------------------------------------------------------------------------------- /flappy/starter/res/sprite1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/flappy/starter/res/sprite1x.png -------------------------------------------------------------------------------- /flappy/starter/res/sprite2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/flappy/starter/res/sprite2x.png -------------------------------------------------------------------------------- /flappy/starter/sprite.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/flappy/starter/sprite.js -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/index.html -------------------------------------------------------------------------------- /pong/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/pong/index.html -------------------------------------------------------------------------------- /pong/mobile/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/pong/mobile/index.html -------------------------------------------------------------------------------- /snake/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/snake/index.html -------------------------------------------------------------------------------- /space-invaders/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/space-invaders/index.html -------------------------------------------------------------------------------- /space-invaders/js/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/space-invaders/js/helpers.js -------------------------------------------------------------------------------- /space-invaders/res/invaders.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/space-invaders/res/invaders.png -------------------------------------------------------------------------------- /tetris/css/styles.css: -------------------------------------------------------------------------------- 1 | canvas { 2 | border: 1px solid #000; 3 | } -------------------------------------------------------------------------------- /tetris/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/tetris/index.html -------------------------------------------------------------------------------- /tetris/js/class.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/tetris/js/class.js -------------------------------------------------------------------------------- /tetris/js/engine.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/tetris/js/engine.js -------------------------------------------------------------------------------- /tetris/js/require.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/tetris/js/require.js -------------------------------------------------------------------------------- /tetris/js/src/Block.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/tetris/js/src/Block.js -------------------------------------------------------------------------------- /tetris/js/src/Game.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/tetris/js/src/Game.js -------------------------------------------------------------------------------- /tetris/js/src/GameBoard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/tetris/js/src/GameBoard.js -------------------------------------------------------------------------------- /tetris/js/src/Numfont.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/tetris/js/src/Numfont.js -------------------------------------------------------------------------------- /tetris/js/src/Randomizer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/tetris/js/src/Randomizer.js -------------------------------------------------------------------------------- /tetris/js/src/StatManager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/tetris/js/src/StatManager.js -------------------------------------------------------------------------------- /tetris/js/src/Tetramino.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/tetris/js/src/Tetramino.js -------------------------------------------------------------------------------- /tetris/js/src/Tetris.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/tetris/js/src/Tetris.js -------------------------------------------------------------------------------- /tetris/js/src/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/tetris/js/src/main.js -------------------------------------------------------------------------------- /tetris/res/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/tetris/res/back.png -------------------------------------------------------------------------------- /tetris/res/blocks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/tetris/res/blocks.png -------------------------------------------------------------------------------- /tetris/res/numbers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/tetris/res/numbers.png -------------------------------------------------------------------------------- /tic-toe/game.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/tic-toe/game.js -------------------------------------------------------------------------------- /tic-toe/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/tic-toe/index.html -------------------------------------------------------------------------------- /tic-toe/parts/1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/tic-toe/parts/1.html -------------------------------------------------------------------------------- /tic-toe/parts/2.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/tic-toe/parts/2.html -------------------------------------------------------------------------------- /tic-toe/state.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxwihlborg/youtube-tutorials/HEAD/tic-toe/state.js --------------------------------------------------------------------------------