How yogchouhan/typing-speed-shooter-game works
This is a browser-based typing shooter. The player starts at the landing screen, plays by typing words that appear as enemies, earns score for matches, and reaches a game-over screen when lives run out. The sampled JavaScript implements word spawning, matching, scoring, lives, and score persistence/navigation; the README describes the screens and gameplay. HTML and CSS contents were not sampled, so their internal wiring and presentation details are not inferred.
Main entry points: script.js Game mechanics · main.html Gameplay screen · entry.html Landing screen · gg.html Game-over screen
Components 11
Game screens
- Landing screen
entry.html - Gameplay screen
main.html - Game-over screen
gg.html
Gameplay runtime
- Game mechanics
script.js - Word spawning
script.js - Typing and matching
script.js - Score and lives
script.js - Score storage
script.js
Presentation
- Game styling
style.css
Other components
- Player
- Browser storage
Connections 13
- Player → Landing screen: opens
README.md - Landing screen → Gameplay screen: starts game
README.md - Player → Gameplay screen: types words
README.md - Gameplay screen → Game mechanics: hosts
script.js - Game mechanics → Word spawning: spawns
script.js - Game mechanics → Typing and matching: checks input
script.js - Typing and matching → Score and lives: updates score
script.js - Game mechanics → Score and lives: reduces lives
script.js - Game mechanics → Score storage: saves score
script.js - Score storage → Browser storage: writes score
script.js - Game mechanics → Game-over screen: navigates to
script.js - Gameplay screen → Game styling: styled by
- Game-over screen → Player: shows final stats
README.md