Username:
Password:
Stay logged in

Foal Genotype Calculator

ForumsGame Guides → Foal Genotype Calculator

Foal Genotype Calculator

#98284 Posted on 2017-03-20 15:35:13

Thanks for the tool. :D


0 members like this post.

Posted By

Kat of RKO
#87162

Member is Offline
22 forum posts
Send A Message

#98339 Posted on 2017-03-20 20:15:49

Awesome I can't wait to try it.


0 members like this post.

Posted By

Arbutus
#107236


Member is Offline
798 forum posts
Send A Message

#98710 Posted on 2017-03-24 17:38:40

Ulysses, I wrote a phenotype calculator in Java. I'm not sure how well it would work in JS but in Java it runs super smoothly even with over 1k possible foal genotypes. I was actually shocked that it spit out like 100 phenotypes instantly lol. If you want to talk code, PM me :)


0 members like this post.

Posted By

SueHeck
#104120


Member is Offline
355 forum posts
Send A Message

#103411 Posted on 2017-05-03 06:45:43

Update
Phenotypes are now listed alongside the genotypes. I know I said this was impossible, but I've done it! Not only that, I've managed it in a relatively simple manner that doesn't significantly increase computation time or require ridiculous amounts of code. The only downside is the program has lost a bit of versatility with this, which means it's not going to handle typos well, and will have to be modified if new genes like pearl get introduced, but these are relatively minor issues.

Thanks to everyone who offered me advice in the coding. I'm pretty sure I would have continued to believe it was impossibly complex otherwise. ♥

I may have introduced a few errors with this update, though. I've tested it as much as I can, but there are literally thousands of different genotype possibilities, so I may have missed something. So if you see a genotype that doesn't match the listed colour and pattern please let me know. Just paste the genotype and phenotype here, along with what you think it should be, and I'll look into it.

Also, the Foal Stat Calculator is finally here!

Last edited on 2017-05-03 at 06:50:09 by UlyssesBlue


1 members like this post.

Posted By

UlyssesBlue
#60734


Member is Offline
922 forum posts
Send A Message

#104270 Posted on 2017-05-10 03:52:33

Update
Added the ability to sort the results by phenotype or genotype or probability.


0 members like this post.

Posted By

UlyssesBlue
#60734


Member is Offline
922 forum posts
Send A Message

#104585 Posted on 2017-05-12 19:29:42

I can enter the Sires and Dams Genotype but it will not let me calculate it.


0 members like this post.

Posted By

Ride4Life
#108959


Member is Offline
956 forum posts
Send A Message

#104586 Posted on 2017-05-12 19:37:39

Could you paste the genotypes you're using here for me? I'll see if I can figure out what the issue is. Sometimes typos will prevent things from being read in properly, which will prevent it from performing a calculation, but if it's an issue with my code I need to know what exactly it's having a problem with as well.

*edit*
Ok, I've figured out the issue. There is a bug in one of your horses which means it's missing the flaxen gene. You'll have to manually add it in when you're entering the genotype into the calculator. I'll work on revamping the gene-reading part of the code so it can give sensible error messages when issues like this occur.

Last edited on 2017-05-12 at 22:45:20 by UlyssesBlue


0 members like this post.

Posted By

UlyssesBlue
#60734


Member is Offline
922 forum posts
Send A Message

#105042 Posted on 2017-05-16 14:18:46

EDIT: Wrong topic

Last edited on 2017-05-16 at 14:19:16 by Smokey Thoroughbreds Unit


0 members like this post.

Posted By
ℌ𝔢𝔯𝔪𝔢𝔰 𝔖𝔱𝔲𝔡
#28950


Member is Offline
363 forum posts
Send A Message

#105050 Posted on 2017-05-16 15:17:38

This is soo amazing!! ♥


0 members like this post.

Posted By

~PurpleMagic~
#95369


Member is Offline
1322 forum posts
Send A Message

#105054 Posted on 2017-05-16 15:38:13

Super cool, thank you!


0 members like this post.

Posted By

❦BlueEyedLuv❦
#103923


Member is Offline
454 forum posts
Send A Message

#106746 Posted on 2017-05-29 03:57:05

Update
Added some error testing functionality, so it'll tell you what's wrong and how to fix it if you use a buggy horse that doesn't have enough genes. It'll also pick up some typos and similar.


0 members like this post.

Posted By

UlyssesBlue
#60734


Member is Offline
922 forum posts
Send A Message

#142671 Posted on 2018-01-22 17:43:11

having trouble with two of my trakheners..
The sire: EE AA gg crcr dd chch FF zz pp stysty rbrb RnRn oo spsp lplp patn1patn1 patn2patn2  - bay roan stallion
The dam: Ee aa gg crcr dd chch FF zz pp stysty rbrb RnRn oo spsp lplp patn1patn1 patn2patn2  - black roan mare
Apparently issues in agouti, and too many genes for the sire? But this is a direct copy/paste from the horses page... Also issues with the KiT area.

Last edited on 2018-01-22 at 17:43:45 by Smokey's Royal Horses


0 members like this post.

Posted By
ℌ𝔢𝔯𝔪𝔢𝔰 𝔖𝔱𝔲𝔡
#28950


Member is Offline
363 forum posts
Send A Message

#161288 Posted on 2018-03-19 00:38:16

^ I'm sorry, but I can't reproduce this issue. If I copy and paste those genes and calculate it everything comes up fine with no error messages, and the foal genes all look sensible. If you're still having the issue could you let me know?


0 members like this post.

Posted By

UlyssesBlue
#60734


Member is Offline
922 forum posts
Send A Message

#191462 Posted on 2018-10-13 21:57:10

I love the possibilities with the Foal Genotype Calculator.


0 members like this post.

Posted By

Midnight Arabians
#113655

Member is Offline
13 forum posts
Send A Message

#226014 Posted on 2020-08-03 23:52:17

Hey this really useful - thank you 


0 members like this post.

Posted By

redacted
#126464


Member is Offline
174 forum posts
Send A Message