Skip to content

Commit 8fff622

Browse files
committed
mm reveal
1 parent e4b38d9 commit 8fff622

18 files changed

+3082
-0
lines changed
Lines changed: 252 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,252 @@
1+
# Marathon Match Tournament 2025 - Champions Announcement
2+
3+
A professional, auto-advancing presentation celebrating the Topcoder Marathon Match Tournament Finals. Inspired by Olympic and FIFA World Cup ceremonies, featuring dramatic reveals, podium presentations, and a complete leaderboard transition.
4+
5+
## ✨ Features
6+
7+
- 🎬 **Auto-Advancing Presentation**: Automatically progresses through all sections - no scrolling needed
8+
- 🎨 **Topcoder Brand Design**: Matches official Topcoder color scheme and styling
9+
- πŸ† **Olympic/FIFA-Inspired**: Ceremonial presentation style with dramatic reveals
10+
- πŸ“Š **Leaderboard Transition**: Animated transition from provisional to final scores
11+
- πŸ“Έ **Photo Support**: Display finalist and winner photos
12+
- 🎯 **Problem Showcase**: Beautiful presentation of the challenge
13+
- πŸ‘₯ **Finalists Grid**: Staggered animations for all finalists
14+
- πŸ₯‡ **Podium Presentation**: Gold, silver, bronze podium with celebration effects
15+
- ✨ **Smooth Animations**: Professional CSS animations throughout
16+
- πŸ“± **Fully Responsive**: Works beautifully on all devices
17+
18+
## 🎨 Design
19+
20+
The design uses Topcoder's official brand colors:
21+
- **Primary Blue**: `#0066FF`
22+
- **Secondary Blue**: `#00CCFF`
23+
- **Accent Purple**: `#7C3AED`
24+
- **Gradients**: Professional blue-to-purple gradients throughout
25+
26+
## πŸš€ Setup Instructions
27+
28+
### 1. Add Finalist Photos
29+
30+
Create a `photos` folder in the project directory and add photos for each finalist:
31+
32+
```
33+
MM Champion Announcement/
34+
β”œβ”€β”€ photos/
35+
β”‚ β”œβ”€β”€ wleite.jpg
36+
β”‚ β”œβ”€β”€ Daiver19.jpg
37+
β”‚ β”œβ”€β”€ sullyper.jpg
38+
β”‚ β”œβ”€β”€ gaha.jpg
39+
β”‚ └── ... (all finalist photos)
40+
```
41+
42+
**Photo Requirements:**
43+
- Format: JPG or PNG
44+
- Recommended size: 400x400px minimum
45+
- Square aspect ratio works best
46+
- If a photo is missing, initials will be displayed as fallback
47+
48+
### 2. Update Configuration
49+
50+
Open `script.js` and update the `CONFIG` object:
51+
52+
```javascript
53+
const CONFIG = {
54+
winners: {
55+
first: {
56+
name: "wleite",
57+
country: "Country", // Update with actual country
58+
score: "96.50406762453507",
59+
photo: "photos/wleite.jpg"
60+
},
61+
// ... update second and third
62+
},
63+
finalists: [
64+
{ name: "wleite", country: "Country", photo: "photos/wleite.jpg" },
65+
// ... add all finalists with photos
66+
]
67+
};
68+
```
69+
70+
### 3. Adjust Timing (Optional)
71+
72+
Customize the presentation timing in `script.js`:
73+
74+
```javascript
75+
timing: {
76+
intro: 3000, // Intro screen duration
77+
hero: 5000, // Hero section display time
78+
problem: 6000, // Problem section display time
79+
finalists: 8000, // Finalists grid display time
80+
leaderboardProvisional: 5000, // Provisional scores display
81+
leaderboardTransition: 2500, // Transition animation
82+
leaderboardFinal: 5000, // Final scores display
83+
countdown: 4000, // Countdown duration
84+
podium: 8000, // Podium reveal time
85+
celebration: 5000, // Celebration message
86+
cta: 5000 // Final CTA section
87+
}
88+
```
89+
90+
## πŸ“ File Structure
91+
92+
```
93+
MM Champion Announcement/
94+
β”œβ”€β”€ photos/ # Finalist photos (create this folder)
95+
β”‚ β”œβ”€β”€ wleite.jpg
96+
β”‚ β”œβ”€β”€ Daiver19.jpg
97+
β”‚ └── ...
98+
β”œβ”€β”€ index.html # Main HTML structure
99+
β”œβ”€β”€ styles.css # All styling and animations
100+
β”œβ”€β”€ script.js # Auto-advancing logic and data
101+
└── README.md # This file
102+
```
103+
104+
## 🎬 Presentation Flow
105+
106+
The presentation automatically advances through these sections:
107+
108+
1. **Intro Screen** (3s)
109+
- Topcoder logo animation
110+
- Loading bar
111+
112+
2. **Hero Section** (5s)
113+
- "Tournament Final Has Concluded" reveal
114+
- Gradient text animations
115+
116+
3. **Problem Section** (6s)
117+
- Challenge description
118+
- Feature highlights
119+
- Problem setter credits
120+
121+
4. **Finalists Section** (8s)
122+
- Grid of all finalists with photos
123+
- Staggered card animations
124+
125+
5. **Leaderboard Section** (12.5s total)
126+
- Shows provisional scores (5s)
127+
- Transition animation (2.5s)
128+
- Shows final scores with ranking changes (5s)
129+
130+
6. **Countdown** (4s)
131+
- Dramatic 3-2-1 countdown
132+
133+
7. **Podium Section** (8s)
134+
- Top 3 winners revealed
135+
- Gold, silver, bronze podium
136+
- Celebration animations
137+
138+
8. **Final CTA** (5s)
139+
- Link to full leaderboard
140+
141+
**Total Duration**: ~51.5 seconds
142+
143+
## 🎨 Customization
144+
145+
### Colors
146+
147+
Edit CSS variables in `styles.css`:
148+
149+
```css
150+
:root {
151+
--tc-primary: #0066FF; /* Topcoder primary blue */
152+
--tc-secondary: #00CCFF; /* Topcoder secondary blue */
153+
--tc-accent: #7C3AED; /* Topcoder purple accent */
154+
--gold: #FFD700; /* Gold medal color */
155+
--silver: #C0C0C0; /* Silver medal color */
156+
--bronze: #CD7F32; /* Bronze medal color */
157+
}
158+
```
159+
160+
### Animations
161+
162+
All animations are CSS-based. Key animations include:
163+
- `logoPulse`: Intro logo animation
164+
- `heroReveal`: Hero text reveal
165+
- `finalistReveal`: Finalist card animations
166+
- `revealPodium`: Podium reveal
167+
- `countdownPulse`: Countdown animation
168+
169+
## πŸ“Έ Photo Setup
170+
171+
### Option 1: Local Photos
172+
1. Create `photos/` folder
173+
2. Add photos named exactly as in the CONFIG (e.g., `wleite.jpg`)
174+
3. Photos will automatically load
175+
176+
### Option 2: Remote Photos
177+
Update photo paths in CONFIG to use URLs:
178+
```javascript
179+
photo: "https://example.com/photos/wleite.jpg"
180+
```
181+
182+
### Fallback
183+
If a photo fails to load, the system automatically shows:
184+
- Initials for finalists
185+
- Medal emoji (πŸ₯‡πŸ₯ˆπŸ₯‰) for winners
186+
187+
## 🌐 Browser Support
188+
189+
- Modern browsers (Chrome, Firefox, Safari, Edge)
190+
- CSS Grid and Flexbox required
191+
- CSS custom properties (variables) required
192+
- ES6 JavaScript features
193+
194+
## πŸ”§ Integration
195+
196+
### Standalone Page
197+
Simply open `index.html` in a browser - the presentation will auto-advance.
198+
199+
### Embed in Topcoder Site
200+
1. Copy HTML structure into your template
201+
2. Include CSS (inline or external)
202+
3. Include JavaScript (inline or external)
203+
4. Ensure `photos/` folder is accessible
204+
5. Update CONFIG with actual data
205+
206+
### Performance Tips
207+
- Optimize photos (compress to ~100-200KB each)
208+
- Use WebP format for better compression
209+
- Consider lazy loading for large photo sets
210+
211+
## 🎯 Key Features Explained
212+
213+
### Auto-Advancing System
214+
- Sections automatically transition
215+
- No user interaction required
216+
- Smooth fade in/out animations
217+
- Each section has customizable display duration
218+
219+
### Leaderboard Transition
220+
- Shows provisional scores first
221+
- Animated transition indicator
222+
- Smooth fade to final scores
223+
- Highlights ranking changes with colors:
224+
- 🟒 Green: Rank improved
225+
- πŸ”΄ Red: Rank decreased
226+
- πŸ”΅ Blue: New entry
227+
- βšͺ Gray: No change
228+
229+
### Podium Presentation
230+
- Olympic-style podium design
231+
- Gold, silver, bronze gradients
232+
- Crown animation for champion
233+
- Glow effects and shadows
234+
- Winner photos or medal emojis
235+
236+
## πŸ“ Notes
237+
238+
- All timing is configurable in the `CONFIG.timing` object
239+
- Photos are optional - initials/emojis display if missing
240+
- The presentation loops or ends based on your preference
241+
- Mobile-responsive with adjusted layouts for smaller screens
242+
243+
## πŸŽ‰ Credits
244+
245+
- **Design Inspiration**: Olympics & FIFA World Cup ceremonies
246+
- **Brand Colors**: Topcoder official palette
247+
- **Problem**: Grid Puzzle Game by dimkadimon
248+
- **Testers**: JacoCronje and nika
249+
250+
---
251+
252+
**Ready to celebrate the champions!** πŸ†

0 commit comments

Comments
Β (0)