Download src/config.js from broadfield-dev/stack-overflow-game: direct link, hf CLI and curl.
- Browser
- Download file 322 Bytes
-
https://huggingface.co/spaces/broadfield-dev/stack-overflow-game/resolve/main/src/config.js
- Command line
-
hf download hf://spaces/broadfield-dev/stack-overflow-game/src/config.js
-
curl -L -o config.js https://huggingface.co/spaces/broadfield-dev/stack-overflow-game/resolve/main/src/config.js
322 Bytes
| /** | |
| * Game configuration | |
| * Set different values for development vs production | |
| */ | |
| // Check if we're in production (deployed) or development (local) | |
| const isProduction = import.meta.env.PROD; | |
| export const CONFIG = { | |
| // Number of lines needed to advance to the next level | |
| LINES_PER_LEVEL: isProduction ? 15 : 2, | |
| }; | |