{"id":50382590,"url":"https://github.com/bramp/trivia-dash","last_synced_at":"2026-05-30T13:01:20.891Z","repository":{"id":347151833,"uuid":"1193050319","full_name":"bramp/trivia-dash","owner":"bramp","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-22T14:30:00.000Z","size":48103,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-22T19:48:29.021Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"GDScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bramp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null},"funding":{"github":"bramp","buy_me_a_coffee":"bramp"}},"created_at":"2026-03-26T20:29:39.000Z","updated_at":"2026-05-22T14:30:06.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/bramp/trivia-dash","commit_stats":null,"previous_names":["bramp/trivia-dash"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bramp/trivia-dash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramp%2Ftrivia-dash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramp%2Ftrivia-dash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramp%2Ftrivia-dash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramp%2Ftrivia-dash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bramp","download_url":"https://codeload.github.com/bramp/trivia-dash/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramp%2Ftrivia-dash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33692997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-30T13:01:19.951Z","updated_at":"2026-05-30T13:01:20.883Z","avatar_url":"https://github.com/bramp.png","language":"GDScript","funding_links":["https://github.com/sponsors/bramp","https://buymeacoffee.com/bramp"],"categories":[],"sub_categories":[],"readme":"# Trivia Dash\n\nA fast-paced multiple-choice trivia game built with **Godot 4.6** and GDScript.\n\nAnswer questions before the 30-second timer runs out — but one wrong answer ends the game. Faster answers earn more points.\n\n## Features\n\n- 30-second countdown with time-based scoring\n- 4 coloured answer buttons in a 2×2 grid (Red / Green / Blue / Yellow)\n- Keyboard shortcuts (1 / 2 / 3 / 4)\n- Programmatic sound effects (correct, wrong, tick, tap, game over, new high score)\n- Celebration animation on correct answers (emoji burst + floating score)\n- Tween-based UI animations throughout\n- High score persistence (`user://save.json`)\n\n## Requirements\n\n- [Godot 4.6+](https://godotengine.org/download)\n- Python 3.10+ (for linting/formatting tools)\n\n## Getting Started\n\n```bash\n# Clone the repo\ngit clone https://github.com/bramp/trivia-dash.git\ncd trivia-dash\n\n# Open in Godot\ngodot project.godot\n\n# Or run directly from the command line\ngodot --path .\n```\n\n## Development\n\nSet up the Python virtual environment (installs formatters, linters, and question generator dependencies):\n\n```bash\nmake venv\n```\n\nThis creates a `.venv/` directory and installs all Python dependencies from `pyproject.toml`. Re-run it any time `pyproject.toml` changes.\n\nInstall pre-commit hooks:\n\n```bash\n.venv/bin/pre-commit install\n```\n\n### Make Targets\n\n| Command | Description |\n|---------|-------------|\n| `make venv` | Create/update the Python virtual environment |\n| `make run` | Launch the game locally |\n| `make test` | Run all tests (questions + unit tests) |\n| `make format` | Format all scripts (GDScript + Python) |\n| `make lint` | Lint all scripts |\n| `make build-web` | Export optimized Web build (WASM) |\n| `make build-mac` | Export macOS application |\n| `make build-android` | Export Android APK (signed) |\n| `make build-templates` | Build custom Godot engine templates (requires source) |\n| `make generate-questions` | Generate trivia questions via Gemini |\n\n### Build Minification\n\nThis project uses custom Godot engine builds to minimize the export size (especially for Web).\n- **Web Build**: Reduced from 33MB to ~19MB WASM using custom compilation flags and a minimal engine profile.\n- **Tools**: See `tools/build/` for the SCons profiles and class-level exclusion configurations.\n\n### Project Structure\n\n```\nscripts/\n  main.gd              # Game controller (state machine, UI, animations)\n  game_data.gd          # Global constants and high score persistence\n  question_manager.gd   # Load, shuffle, and serve trivia questions\n  sfx_manager.gd        # Programmatic sound effects\nscenes/\n  main.tscn             # Single scene with all three screens\ndata/\n  questions.json        # Trivia question pool\ntest/\n  test_game_data.gd     # Scoring and persistence tests\n  test_question_manager.gd  # Question loading and shuffling tests\n```\n\n## License\n\nSee [LICENSE](LICENSE) for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbramp%2Ftrivia-dash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbramp%2Ftrivia-dash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbramp%2Ftrivia-dash/lists"}