Back to Projects
World Head Football
World Head Football is a competitive web game developed using pure HTML5 Canvas and Vanilla JavaScript for the LKS Nasional 2023 competition.

Overview
World Head Football is a client-side web game development project designed specifically for the LKS NASIONAL 2023 competition. The game is built entirely using HTML5, CSS3, and Vanilla JavaScript without any additional frameworks.
Project Description
The game is optimized for tablet resolution (1000 x 600 pixels) and must run flawlessly across modern web browsers. Players can choose difficulty levels, ball types, and the country representing their character.
🎯 Game Features & Mechanics
- Complete Gameplay Loop: Players must score goals against their opponent before the timer runs out. Supports distinct keyboard controls for Player 1 (WASD) and Player 2 (Arrow keys).
- Custom Physics System: The ball bounces realistically upon hitting character body parts or arena walls.
- Item Drop System: Power-up items drop randomly every 5 seconds, including ball-size modifiers and a Diamond Ice freeze item.
- Animations & Sprites: Characters feature smooth walking animations when moving across the game board.
- Game State Management: Includes Pause functionality, pre-game Countdown, and complex Game Over logic when the timer expires.
- Match History (Leaderboard): Saves match results to the browser's Local Storage, supporting sorting by score or recent matches.
Technologies
HTML5CSS3Vanilla JS
Links