Planet Defender

★★★★★ 0.0 · 0 rating(s)

Add a 60-second arcade game to any PHP website in two lines of HTML – with a server-verified monthly leaderboard and TOP 3 prizes.

WHAT IS IT? Asteroids fly towards a planet and your visitors have 60 seconds to tap them before they hit. Big rocks take two hits, golden ones are fast and worth a fortune, and a streak of hits builds a score multiplier of up to x5. Over a round the planet changes from Earth to Mars, an ice world and a lava world, and the asteroids get faster.

A quick, addictive reason for visitors to come back every day – and a simple way to run monthly prize campaigns.

HIGHLIGHTS

  • Fair scores – the browser never decides the score. Your server replays every game from the recorded taps and stores its own result.
  • Monthly leaderboard and rewards – each month starts fresh, the TOP 3 are picked automatically, and a hook lets you create real discount coupons.
  • Easy to embed – one <div> and one <script> tag. No frameworks, no build step.
  • Guests or customers – visitors can play with a nickname, or you can connect the game to your customers' accounts.
  • Zero-setup storage – SQLite out of the box, MySQL/MariaDB supported.
  • Responsive – works on phones, fullscreen mode, recolourable with CSS variables.
  • Built-in protection – timing checks, tap-rate limits, per-player and per-IP limits, signed game tokens, ban switch.
  • Detailed manual included – installation, rewards, security, privacy, troubleshooting.

HOW IT WORKS

  1. Upload the folder to your server.
  2. Paste two lines of HTML where the game should appear.
  3. Play – leaderboard, nicknames and score verification work immediately.

Optional: add a monthly cron job and the TOP 3 are paid out automatically.

REQUIREMENTS

  • PHP 7.3 or newer (tested on PHP 8.3)
  • SQLite (default) or MySQL/MariaDB
  • Any modern browser for players
  • HTTPS recommended

Platforms without PHP (e.g. hosted shop builders) can run the module on a subdomain and embed it with an iframe.

Live demo: https://onlyptc.eu/games/planet (account required)

Ratings
Only logged-in users can rate this product. Log in to rate

No ratings yet.

$1.00
Buy now
Report Advertisement
If you believe an advertisement is a scam or inappropriate, please let us know and our team will review it.
No ads available to report right now.
Selected advertisement: