Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Original bug: a guest or staff member with no place to stroll to heads for a corner of its search area

Aperta
#304 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
game-dev

Direzione di ricerca

The issue names no source file, so start from the private movement spec, section 10.3, and find where the random-stroll destination is chosen from the border of the two-to-six-tile rectangle. Check how the last examined tile is kept when no border tile qualifies. Done means that an empty border sends the unit to the fallbacks in the enhanced build, and that the 1:1 build keeps its original far-corner behaviour.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

original-bug

In the original, a guest or staff member on the zoo grounds that strolls at random looks for a path tile on the border of a rectangle two to six tiles around it. When no tile on that border is suitable, it should give up this choice and try the fallbacks. Instead the program keeps the last tile it looked at, the far corner of the rectangle (x and y both increased), and sends the unit there, whether that tile is a path or not, as long as it is on the map.

1:1 build: keep it (the private movement spec, section 10.3).
Enhanced build: treat an empty border as no destination, so the unit goes on to the fallbacks.

Lingua principale
Rust
Stelle
0
Fork
0
Merge medio
1h 1m
PR unite (30g)
128

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di RustyZoo/RustyZoo

Tutte le issue di RustyZoo/RustyZoo

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.