River or canal map so boats have more than the Tokyo moat

Open
#61 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
game-dev

Research direction

Start with AmbientBoats and its WATER_TILE constant, which matches tile names such as moat-north and measures water strips from tile images. Look at the existing Tokyo moat tiles and the rocks tiles that break them up. Done means a room with a long unbroken river or canal that boats can travel along, with the new tile family added to WATER_TILE. The map and tile art may need the project's room editor, so check how existing rooms are built first.

Written by the indexing model from the issue text.

Description

Only Tokyo has a waterway (the moat), and its rocks tiles split it into short runs of 4-8 cells, so boats only potter along short stretches.

A room with a real river or canal (long, unbroken water tiles) would show them off better. AmbientBoats finds waterways from tile names (AmbientBoats.WATER_TILE, currently moat-<north|south|east|west>) and measures the water strip from the tile image, so a new water tile family only needs its name added there.

Found while implementing #29.

Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from devhou-se/game

All issues in devhou-se/game

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.