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

Undoing a tank wall step refunds walls that were free

Aperta
#264 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
Mezza giornata
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
game-dev

Direzione di ricerca

The payload names no files, so start by searching the codebase for the tank wall step and its undo logic, and find where the refund for a wall type is computed. Compare the improved build's path with the 1:1 build's path, which already refunds the purchase cost. Done when undoing a wall step that made a free copy refunds nothing in the improved build, while the 1:1 build still refunds the full cost. Confirm with a test or by reproducing the private spec placing 8 scenario.

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

Descrizione

original-bug

In the original, a tank wall copied for free by the wall step (when a tank's wall moves to its side on a line shared with another tank) gives back the full purchase cost of its type when the step is undone, so undoing a wall step can earn money (private spec placing 8). The 1:1 build keeps this. The improved build should give back only what was paid.

Done when the improved build refunds nothing for a free wall copy on undo, and the 1:1 build still refunds the purchase cost.

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.