CodingTrain / CodingTrain/Suggestion-Box
Biology related coding challenge
- 主要言語
- 言語のデータがありません
- スター
- 570
- フォーク
- 85
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I have a challenge for you. Recreate a game with the following rules. I played this in my biology class.
Rules:
1. The game starts with three rabbits and one lynx on the field. Rabbits positions are randomized.
2. The lynx is randomly thrown onto the field and if it catches(collides with) three rabbits it will survive and have a child.
-The catched rabbits will die (obviously)
-Every multiple of three makes extra lynx (3 rabbits -> 1 child, 6 rabbits -> 2 children, 4 rabbits -> 1 child)
-The lynx will die if it doesn't catch at least three rabbits
-Even if all lynx dies, there will always be one lynx on the field(cannot reach zero)
-the lynxes are removed from the field and thrown again in beginning of the next generation
3. The rabbit population will double every generation
4. There is a 10% chance every generation of a Tuleremia (rabbit fever) that will kill 30% of the rabbit population
I suggest making rabbits and lynx circles and checking collisions with the circles. If the lynx collides with a rabbit, the rabbit will die.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
ファイル、テスト、エントリーポイントが指定されていないため、まずこのリポジトリのどこでプレイ可能な提案を実装しているのかを特定する必要があります。完了とは、ゲームが指定されたウサギとオオヤマネコの世代、衝突に基づく死亡、繁殖、オオヤマネコの最小個体数、ウサギの倍増、および野兎病のルールを再現することを意味します。
索引モデルが issue の本文から書いたものです。
評価
- 領域
- game-dev
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100