CodingTrain / CodingTrain/Suggestion-Box
Biology related coding challenge
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 570
- Fork
- 85
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Non vengono indicati file, test o punti di ingresso, quindi per prima cosa bisogna determinare dove questo repository implementa le proposte giocabili. Il lavoro è completo quando un gioco riproduce le generazioni dichiarate di conigli e linci, le morti basate sulle collisioni, la riproduzione, una popolazione minima di linci, il raddoppio dei conigli e la regola della tularemia.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Ambito
- game-dev
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100