Spaces:
Running
Running
I want to create a simple horse breeding, training, and racing game. The game loop is to buy horses and breed them. Each breeding has a chance of getting a trait, positive or negative, from the parents. Horses have four stats: - Speed - Endurance - Beauty - Fertility In addition, a horse has a gender. These stats have a genetic value and a modified value. The genetic value is what can be obtained by breeding. In addition, traits can modify stats. For example, a "Slow but steady" trait can decrease speed but increase endurance. Training can be done three times between races. Training has a chance of injuring the horse, in which case they cannot participate in the next race. In races, only speed and endurance are used. During the race, each horse has a temporary endurance and speed value that starts at the endurance and speed values. The temporary endurance is decreased by the temporary speed value each lap. When the temporary endurance reaches 50%, the speed reduces by 25%. When the temporary endurance reaches 25%, the speed reduces by another 25%, and when the temporary endurance reaches <10%, the speed reduces to 10% too, and no further reduction in endurance or speed happens until the end of the race. For breeding, each horse has a fertility that starts at 100% and decreases by 25% each time it is bred. The chance that its genetic value and traits are passed on depends on the remaining fertility. When fertility reaches 0%, the horse can no longer breed. Beauty is not required for the first version of the game. The player starts with $10K and must buy a horse on a market. There will be three horses each round that the player can purchase, of various values. At least one horse is always available below the player's remaining money. The cost of a horse should be a reflection of its stats. The player can earn more money by winning races or selling offspring or breeding services. The value of offspring and breeding services depends on the stats. The value should in total yield around 1/4 of the value of the horse. When choosing breeding, a player can also breed with their own horses if they have eligible male and female hoses. If the player has a female horse only, they must pay someone to mate, around 1/4 of the male horse's value, but the player gets offspring in return. If the player has a male horse only, they immediately get paid around 1/4 of the value of their horse. - Initial Deployment
8ceaa24
verified