List your app for sale free.List now
For saleWorking prototype

Last Light

Keep the lamp burning on a storm night. Your beam guides ships home, but it also wakes the wreckers.

Screenshots

Screenshots supplied by the seller.

Description

Last Light puts you in a lighthouse on the worst night of the year. Ships drift in from the dark, lost and heading for the rocks. Shine your beam on one and its captain finds their bearings and steers for the nearest harbour. Leave a ship in the dark too long and it runs aground.

You can't light everything. The wide beam is short, and holding to focus it reaches right across the sea but burns oil fast. Every moment you spend on one ship is a moment another drifts toward the reef.

Then the wreckers arrive. They're dark hulls with a faint red ember, and they only come alive when your light touches them, turning to hunt the nearest ship. Leave them in the dark and they slip past for a small bonus, so the beam has to dodge them as carefully as it finds everything else.

Each night brings more ships, more rocks, wind and rain. Bringing ships home in a row builds a score streak, and three wrecks puts the light out. Plain HTML, CSS and JavaScript on a canvas, with no server or running costs and mouse, touch and keyboard controls.

Condition

Development stage: Working prototype (seller-declared)

Seller-declared: provided by the seller, not independently verified by SellMyVibe.

  • Solo creator
  • Mainly AI-generated
  • Under one month in development
  • Mobile-friendly
  • Tests included
  • Setup guide included
  • Demo available

What works

  • Aim the beam with mouse, touch or arrow keys
  • Wide beam, plus a long focused beam that burns oil
  • Ships that steer for harbour and around rocks once lit
  • Wreckers that hunt when lit and slip past when left dark
  • Endless nights with more ships, rocks, speed, wind and rain
  • Score streaks up to five times
  • Three wrecks ends the game
  • Best score remembered between visits
  • Pause, and calmer visuals for reduced motion
  • 13 tests covering the beam, oil, ships, wreckers, scoring and a bot that plays whole games

What’s unfinished

  • No sound or music
  • No online leaderboard
  • Touch controls haven't been tried on a real phone
  • The ships are simple shapes, so a buyer may want proper art

Included assets

Full source code

Test suite

Documentation

Technologies

HTML, CSS, JavaScript (ES modules), Canvas, localStorage, Node test runner

Setup requirements

Upload the files to any static web host. To try it locally, run python3 -m http.server and open http://localhost:8000. Run the tests with npm test (Node 20 or newer).

Dependencies and ongoing costs

None. It's a static site that runs free on any web host and uses system fonts.

Known limitations

Difficulty was tuned with an automated player that reached nights 3 to 8, not with people. Real players may find it easier or harder.

Listings are reviewed for completeness and clarity before publication. Approval is not a guarantee of quality, ownership, security or commercial success. Read the details and ask questions before buying.