How klanes0905/small-project works
This repository is a collection of independent browser demos, small games, utilities, and static pages—not one integrated application. Users open a demo, interact with its page, and see a result such as a game outcome, updated count, or formatted time. Sampled scripts show direct DOM updates; the slot machine also persists coins in browser local storage. Other capabilities are represented from the file tree only, so their internal wiring is not inferred.
Main entry points: slot.js Symbol slot machine · InBetween/script.js In-between · guessinggame/script.js Number guessing · cas.js Dice slot demo
Components 17
Games
- In-between
InBetween/script.js - Number guessing
guessinggame/script.js - Symbol slot machine
slotmachine/slot.js - Dice slot demo
try/cas.js
Utilities
- Counter
count/index.js - Calculator
calculator/script.js - Stopwatch
timer/script.js - Clock
clock/script.js - Password generator
PasswordGenerator
Web pages
- Blog page
blogg/blog.html - Business card
businesscard/businesscard.html - Form page
formm/form.html - Emoji page
emoji/emoji.html
JavaScript examples
- Array and callbacks
callback, forEach, map/script.js
Other components
- Visitor
- Page controls
- Browser storage
Connections 22
- Visitor → In-between: plays
- In-between → Page controls: updates display
- Visitor → Number guessing: guesses
- Number guessing → Page controls: shows feedback
- Visitor → Symbol slot machine: spins
- Symbol slot machine → Page controls: shows outcome
- Symbol slot machine → Browser storage: reads and writes coins
- Visitor → Dice slot demo: spins
- Dice slot demo → Page controls: shows outcome
- Visitor → Counter: changes count
- Counter → Page controls: updates count
- Visitor → Calculator: enters expression
- Calculator → Page controls: updates display
- Visitor → Stopwatch: controls timer
- Stopwatch → Page controls: updates elapsed time
- Clock → Page controls: updates clock
- Visitor → Password generator: uses generator
- Visitor → Blog page: views page
- Visitor → Business card: views page
- Visitor → Form page: uses form
- Visitor → Emoji page: views page
- Visitor → Array and callbacks: runs examples