Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Seasonal Weather

オープン
#14 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
csharp
領域
game-dev

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
C#
スター
2
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ledpup/StrategyGame のほかの issue

ledpup/StrategyGame の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。