How neonevins/25-js-note works
This repository is a Chinese-language JavaScript course organized as numbered lesson folders, progressing from language basics through browser APIs, asynchronous programming, and practical projects. Its substantial runnable application is a canvas Flappy Bird game in 48-实战: the game loop delegates scene rendering, scenes assemble visual and interactive components, and components use shared configuration and utilities. The course lessons are represented as topic areas; their internal links are not inferred from folder order. Edges reflect sampled code or SOURCE INDEX references, so unsampled scene implementations are shown only where imports are documented.
Main entry points: Basic.js Component base · config.js Canvas config · Gaming.js Gameplay scene · Background.js Background
Components 28
Course topics
- JS foundations
01-JS的基本知识 - Types and objects
02-JS的基本数据类型 - Functions and scope
05-函数的相关知识 - Arrays and algorithms
17-数组字符串的API - Objects and classes
33-面向对象 - Async programming
38-同步写法的异步编程
Browser APIs
- DOM and events
39-dom的相关操作 - Canvas graphics
41-canvas画布 - AJAX and JSONP
44-ajax
Game flow
- Game loop
48-实战/js/Game.js - Canvas config
48-实战/config.js - Scene controller
48-实战/js/Scene.js - Start scene
48-实战/js/scene/Start.js - Ready scene
48-实战/js/scene/Ready.js - Gameplay scene
48-实战/js/scene/Gaming.js - Game over scene
48-实战/js/scene/GameOver.js
Game components
- Background
48-实战/js/component/Background.js - Bird physics
48-实战/js/component/Bird.js - Land
48-实战/js/component/Land.js - Pipes
48-实战/js/component/Pipe.js - Score display
48-实战/js/component/Score.js - Game logo
48-实战/js/component/Logo.js - Play button
48-实战/js/component/button.js - Ready title
48-实战/js/component/TitleReady.js - Game-over title
48-实战/js/component/TitleOver.js - Component base
48-实战/js/component/basic/Basic.js - Game utilities
48-实战/js/tools.js
Other components
- Learner
Connections 38
- Learner → JS foundations: studies
- Game loop → Canvas config: reads settings
48-实战/js/Game.js - Game loop → Scene controller: creates and renders
48-实战/js/Game.js - Scene controller → Start scene: selects scene
48-实战/js/Scene.js - Scene controller → Ready scene: selects scene
48-实战/js/Scene.js - Scene controller → Gameplay scene: selects scene
48-实战/js/Scene.js - Scene controller → Game over scene: selects scene
48-实战/js/Scene.js - Start scene → Background: renders
48-实战/js/scene/Start.js - Start scene → Game logo: renders
48-实战/js/scene/Start.js - Start scene → Play button: renders
48-实战/js/scene/Start.js - Ready scene → Background: uses
48-实战/js/scene/Ready.js - Ready scene → Ready title: uses
48-实战/js/scene/Ready.js - Gameplay scene → Background: renders
48-实战/js/scene/Gaming.js - Gameplay scene → Bird physics: checks collision
48-实战/js/scene/Gaming.js - Gameplay scene → Land: renders
48-实战/js/scene/Gaming.js - Gameplay scene → Pipes: checks collision
48-实战/js/scene/Gaming.js - Gameplay scene → Score display: updates display
48-实战/js/scene/Gaming.js - Game over scene → Background: uses
48-实战/js/scene/GameOver.js - Game over scene → Game-over title: uses
48-实战/js/scene/GameOver.js - Bird physics → Canvas config: reads dimensions
48-实战/js/component/Bird.js - Bird physics → Game utilities: uses debounce
48-实战/js/component/Bird.js - Bird physics → Component base: extends
48-实战/js/component/Bird.js - Background → Canvas config: reads dimensions
48-实战/js/component/Background.js - Background → Component base: extends
48-实战/js/component/Background.js - Play button → Canvas config: registers clicks
48-实战/js/component/button.js - Play button → Game utilities: checks hit
48-实战/js/component/button.js - Play button → Component base: extends
48-实战/js/component/button.js - Game logo → Canvas config: registers clicks
48-实战/js/component/Logo.js - Game logo → Game utilities: checks hit
48-实战/js/component/Logo.js - Game logo → Component base: extends
48-实战/js/component/Logo.js - Score display → Canvas config: reads dimensions
48-实战/js/component/Score.js - Score display → Component base: extends
48-实战/js/component/Score.js - Land → Component base: extends
48-实战/js/component/Land.js - Land → Canvas config: reads dimensions
48-实战/js/component/Land.js - Pipes → Component base: extends
48-实战/js/component/Pipe.js - Pipes → Canvas config: reads dimensions
48-实战/js/component/Pipe.js - Ready title → Component base: extends
48-实战/js/component/TitleReady.js - Game-over title → Component base: extends
48-实战/js/component/TitleOver.js