killthebird

3D moorland shooter as a React/Next.js component

Kill the Bird

Loading landscape …

Best score: –

    Add it to your own Next.js app

    npm install killthebird three
    npx killthebird copy-assets public/killthebird
    "use client";
    import { KillTheBird } from "killthebird";
    
    export function Game() {
      return (
        <div style={{ width: "100%", aspectRatio: "16 / 9" }}>
          <KillTheBird onGameEnd={(r) => console.log(r.score)} />
        </div>
      );
    }

    All props, events and notes on fullscreen and asset hosting are in the README.