Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 1.84 KB

README.md

File metadata and controls

55 lines (41 loc) · 1.84 KB

Base Playable Template (JavaScript)

A starter template for creating playable ads with JavaScript. This template uses:

Demo

Try out this template:

Features

  • Modern JavaScript (ES6+)
  • Hot module replacement during development
  • Basic game structure with SDK integration
  • Event handling (resize, pause, resume, volume, etc.)
  • Installation button implementation
  • Interaction tracking

Getting Started

  1. Clone this repository
  2. Install dependencies:
    npm install
  3. Start development server:
    npm run dev
  4. Build for production:
    npm run build

Project Structure

  • src/index.js - Main entry point with SDK and Game initialization
  • src/Game.js - Game logic
  • src/index.css - Styles for your playable
  • src/index.html - HTML template

Looking for More?

Check out other available templates for different frameworks and use cases: