An interactive game-based platform for Sri Lanka's ICT literacy initiative, featuring a side-scrolling highway experience with immersive workshops and registration system.
- Interactive Highway: Drive through a futuristic highway with branching paths
- SparkIT Flash Timeline: Underground vertical mode with workshop milestones
- Lightning Effects: Dynamic visual effects with robot companion
- Registration System: Phase 1 registration with local storage
- Mobile Responsive: Touch controls and adaptive design
- Accessibility: Screen reader support and keyboard navigation
- Movement: Arrow keys (โ/โ) or A/D keys
- Interact: E key or Enter at branches
- Timeline: Down/S key at Phase 1 sign to enter SparkIT Flash
- Exit Timeline: Up/W key at top
- Photo Mode: F key
- Pause: P key
- Help: H key
- Theme Toggle: T key
- Close Panels: Esc key
- Movement: Touch the left/right arrow buttons
- Interact: Touch the center interaction button
- Gestures: Swipe left/right for movement, up/down in timeline
SparkIT/
โโโ index.html # Main HTML structure
โโโ assets/
โ โโโ game.js # Core game engine (2259 lines)
โ โโโ style.css # Styling and animations
โ โโโ content.json # Game content and configuration
โ โโโ images/ # Logo and asset files
โโโ firebase.json # Firebase hosting configuration
โโโ README.md # This file
- HTML5 Canvas - Main rendering engine
- Vanilla JavaScript - Game logic and interactions
- CSS3 - Styling, animations, and responsive design
- Firebase Hosting - Deployment platform
- Local Storage - Client-side data persistence
- Modern web browser (Chrome, Firefox, Safari, Edge)
- Local web server (for development)
- Firebase CLI (for deployment)
-
Clone the repository:
git clone https://github.com/Developers-RCCS/SparkIT.git cd SparkIT
-
Start a local web server:
# Using Python python -m http.server 8000 # Using Node.js npx serve . # Using PHP php -S localhost:8000
-
Open
http://localhost:8000
in your browser
-
Install Firebase CLI:
npm install -g firebase-tools
-
Login and deploy:
firebase login firebase deploy
- Drive along a horizontal highway
- Visit interactive branches for different content
- Experience dynamic lightning effects at Phase 1 sign
- Collect achievements and track progress
- Vertical underground drilling experience
- Visit workshop milestones:
- Workshop 1: Game Development
- Workshop 2: Capture The Flag (CTF)
- Workshop 3: Programming & Algorithms
- Collect energy orbs and complete hack challenges
- Robot companion transforms based on workshop themes
- Phase 1: Registration and foundation building
- Phase 2: Advanced topic exploration (locked)
- Phase 3: Final showcase and competitions (locked)
- Custom animated cursor that follows mouse/touch
- Expressive modes based on game context
- Workshop-specific transformations
- Underground hard-hat mode
- Lightning strikes with particle systems
- Parallax background layers
- Liquid card interactions in panels
- Smooth camera transitions
- Dynamic day/night themes
- Adaptive canvas rendering
- Touch-friendly controls
- Orientation change handling
- Performance optimization for low-end devices
- Screen reader navigation
- Keyboard-only operation
- High contrast support
- Reduced motion options
- Touch target size compliance
Browser | Minimum Version | Notes |
---|---|---|
Chrome | 80+ | Full support |
Firefox | 75+ | Full support |
Safari | 13+ | Full support |
Edge | 80+ | Full support |
Mobile Safari | 13+ | Touch optimized |
Chrome Mobile | 80+ | Touch optimized |
- Canvas rendering with DPR scaling
- Particle system culling
- Event listener cleanup
- Memory leak prevention
- Adaptive performance modes
- Target: 60fps on mid-range devices
- Memory usage: <30MB sustained
- Loading time: <2 seconds on 3G
- Fork the repository
- Create a feature branch:
git checkout -b feature-name
- Make your changes
- Test thoroughly across browsers
- Submit a pull request
- Use consistent indentation (2 spaces)
- Comment complex game logic
- Follow existing naming conventions
- Test on mobile devices
This project is licensed under the MIT License - see the LICENSE file for details.
SparkIT is designed to:
- Bridge the digital literacy gap in Sri Lankan schools
- Provide hands-on ICT education through gamification
- Create engaging workshops in programming, robotics, and cybersecurity
- Establish sustainable ICT societies in educational institutions
- RCCS Team - Development and design
- SparkIT Initiative - Educational framework
- Sri Lankan ICT Community - Inspiration and support
For technical issues or questions:
- Email: [email protected]
- GitHub Issues: Create an issue
- Documentation: Wiki
Made with โค๏ธ for Sri Lanka's digital future