Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Seasonal Weather

Đang mở
#14 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
csharp
Lĩnh vực
game-dev

Hướng nghiên cứu

The issue defines a seasonal weather system and terrain effects but names no files, tests, or entry points. First locate the turn, map-terrain, and unit-movement systems, then clarify the unresolved wetland-to-lake behavior before implementing; done should match the listed seasonal transitions and cold, wet, and dry effects.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Assuming northern hemisphere, temperature decreases as you go north. Temperature oscillates on a sine wave, from turn to turn, to simulate seasonal weather.

Temperatures decrease based on the distance from the coast.

A northern map:

Summer Autumn Winter Spring
Fine Wet Cold Wet
Fine Fine Wet Fine
Dry Fine Fine Fine

A map further north:

Summer Autumn Winter Spring
Fine Cold Cold Cold
Fine Wet Cold Wet
Fine Fine Wet Fine

This can be easily turned upside-down for southern hemisphere maps.

Effects on terrain: All tiles have a base type of terrain, assuming a spring/autumn temperature.

Dry

  • Affects Lake, Wetland and Grassland hexes
  • Lake -> Wetland, Wetland -> Grassland, Grassland -> Desert

Fine

  • The default

Wet

  • Affects Arid, Grassland, Wetland and Mountain hexes
  • Desert -> Grassland, Grassland -> Wetland, Wetland -> Lake
  • Negates the move bonus of roads

Cold

  • Lakes freeze - units can now treat a frozen lake as land
  • Rivers freeze - units can now cross rivers without a movement penalty
  • Grassland, Hill, Forest, and Mountain become snow covered
  • Unit morale drops from the cold if not in a structure or not on preferred terrain
  • Some units aren't hindered by the cold (no morale loss)

Problems with this system:

  • Units that were in a wetland might find themselves in a lake in the following turn
Ngôn ngữ chính
C#
Star
2
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ledpup/StrategyGame

Tất cả issue của ledpup/StrategyGame

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.