Thread:Sylvandyr/@comment-5619126-20121014124324/@comment-4830404-20121014141919

We have a Breeding Calculator here that has two modes, breeding outcomes (select two dragons and see what you can get) and possible parents (select one dragon and see which dragons you can breed to get it). I'm working on fixing the latter mode and improving the code design in general, though.

There is a Breeding Results page where people can edit in their results of breeding. The Color Pool Linker on the page lets them input two dragons and pressing the button will jump them straight to the correct section to edit (since the page is quite long and inconvenient to scroll manually).

The checkboxes for which dragons you have that tell you which dragons you are missing to breed a particular dragon are kind of neat, but MediaWiki handles caching very strangely so it would be best not to try to embed the code directly there. A lot of code that works perfectly fine normally will break if you don't feed the appropriate modifications to appease MediaWiki. There is also some functionality that it simply refuses to support.

As for the program itself, a few things I noticed:

- The column titles and the info listed beneath them do not match ;) Rarity and Incubation are swapped.

- The prices do not differentiate between coin or gold, so the Air Dragon looks just as expensive as the Crusader Dragon, which is not the case.

- The hover info spaced completely vertically will get cut off in cases where the list is long (such as Aether Dragon), even on huge resolution screens like mine. You may want to separate the list by commas, use some horizontal space, and wrap downwards.

- Instead of "No current breeding possibilities. Get one or more of these:"  I think it would be more useful to display the pairs that can generate the dragon without using the dragon itself in the combo. It doesn't make a lot of sense if I don't have a Life Dragon to list Life Dragon as something that I should obtain to breed one. Mist Dragon does not share any colors with Life, and could only generate a Life Dragon when paired with something else that has red + green in it. Another reason I think pairs should be displayed is that it is not clear what dragon should be bred with what other dragon. Diamond Dragon will list any two-color dragon and also all pure Diamond color dragons, but pairing Firestorm with Eagle will never generate a Diamond, and neither will pairing Diamond with Fruitful.

- Aside from the very first hover upon opening a page, the hover update happens at least one hover late - even if I minimize the tab, hover over white space, and then hover over a new dragon. Sometimes, I'll hover over a dragon above, hover over the dragon directly below, and get hover info for the dragon below that one even though I never hovered over it. If I refresh the page and immediately hover over a dragon, it displays the integer representing its position in the array. So, the hover only behaves as expected on the first hover after manually opening the page (not refreshing).