How rongxuancheng/game works
The repository is a collection of browser games, described by the README as part of an online-games site; the available evidence does not show a shared launcher or runtime connecting them. The cube game has the clearest documented internal orchestration: Game constructs and coordinates gameplay, presentation, preferences, scores, and persistence. Other games are represented by their major runtime modules, but their internal call paths are mostly unsampled or absent from the index.
Main entry points: Game.js Game coordinator · fruit.js Fruit behavior · Storage.js Game persistence · lose.js Loss display
Components 34
2048
- Game application
2048/js/application.js - Game manager
2048/js/game_manager.js - Board grid
2048/js/grid.js - Tiles
2048/js/tile.js - Keyboard input
2048/js/keyboard_input_manager.js - HTML display
2048/js/html_actuator.js - Local game storage
2048/js/local_storage_manager.js
Cube puzzle
- Game coordinator
cube/src/js/Game.js - Puzzle cube
cube/src/js/Cube.js - Cube controls
cube/src/js/Controls.js - Drag input
cube/src/js/Draggable.js - Scrambler
cube/src/js/Scrambler.js - UI transitions
cube/src/js/Transition.js - Tween engine
cube/src/js/Tween.js - Animation base
cube/src/js/Animation.js - Easing functions
cube/src/js/Easing.js - 3D world
cube/src/js/World.js - Solve timer
cube/src/js/Timer.js - Preferences
cube/src/js/Preferences.js - Solve scores
cube/src/js/Scores.js - Game persistence
cube/src/js/Storage.js - Themes
cube/src/js/Themes.js - Theme editor
cube/src/js/ThemeEditor.js - Solve effects
cube/src/js/Confetti.js - SVG icons
cube/src/js/Icons.js
Fruit game
- Game entry
cutfruit/scripts/main.js - Fruit behavior
cutfruit/scripts/factory/fruit.js - Rendering layer
cutfruit/scripts/layer.js - Animation timeline
cutfruit/scripts/timeline.js - Tween functions
cutfruit/scripts/lib/tween.js - Game messages
cutfruit/scripts/message.js - Fruit effects
cutfruit/scripts/object/flame.js - Loss display
cutfruit/scripts/object/lose.js
Other components
- Player
Connections 34
- Player → Game application: plays
- Player → Game coordinator: plays
- Player → Game entry: plays
- Game coordinator → 3D world: constructs
cube/src/js/Game.js - Game coordinator → Puzzle cube: constructs
cube/src/js/Game.js - Game coordinator → Cube controls: constructs
cube/src/js/Game.js - Game coordinator → Scrambler: constructs
cube/src/js/Game.js - Game coordinator → UI transitions: constructs
cube/src/js/Game.js - Game coordinator → Solve timer: constructs
cube/src/js/Game.js - Game coordinator → Preferences: constructs
cube/src/js/Game.js - Game coordinator → Solve scores: constructs
cube/src/js/Game.js - Game coordinator → Game persistence: uses
cube/src/js/Game.js - Game coordinator → Themes: constructs
cube/src/js/Game.js - Game coordinator → Theme editor: constructs
cube/src/js/Game.js - Game coordinator → Solve effects: constructs
cube/src/js/Game.js - Game coordinator → SVG icons: constructs
cube/src/js/Game.js - Cube controls → Tween engine: animates with
cube/src/js/Controls.js - Cube controls → Drag input: uses input
cube/src/js/Controls.js - UI transitions → Tween engine: animates with
cube/src/js/Transition.js - Tween engine → Animation base: extends
cube/src/js/Tween.js - Tween engine → Easing functions: uses
cube/src/js/Tween.js - Game persistence → Puzzle cube: loads state
cube/src/js/Storage.js - Game persistence → Solve timer: restores time
cube/src/js/Storage.js - Game persistence → Solve scores: loads scores
cube/src/js/Storage.js - Game persistence → Preferences: loads preferences
cube/src/js/Storage.js - Fruit behavior → Rendering layer: creates images
cutfruit/scripts/factory/fruit.js - Fruit behavior → Animation timeline: schedules animation
cutfruit/scripts/factory/fruit.js - Fruit behavior → Tween functions: uses easing
cutfruit/scripts/factory/fruit.js - Fruit behavior → Game messages: posts messages
cutfruit/scripts/factory/fruit.js - Fruit behavior → Fruit effects: creates effect
cutfruit/scripts/factory/fruit.js - Loss display → Rendering layer: creates images
cutfruit/scripts/object/lose.js - Loss display → Animation timeline: schedules animation
cutfruit/scripts/object/lose.js - Loss display → Tween functions: uses easing
cutfruit/scripts/object/lose.js - Loss display → Game messages: signals game over
cutfruit/scripts/object/lose.js