Jump to content

Help with breeding pets

Recommended Posts

I’m planning to create pet website with a couple of friends. Only one of us knows backend coding, but she’s still a student and hasn’t coded anything similar to this, and she’s also quite busy. Long story short, I’d love to learn how to code some of the features. I only know HTML, css, and the basics of JavaScript and Python.

There are some php tutorials, but my friend is learning JavaScript, Python and C#, so I’d prefer not to use php.

I’ve been trying to figure out how to program a breeding system with genetics. Does anyone know of any tutorials like this, or have any snippets of codes that could help me understand? I’m quick with learning, but only if there are examples lol. Basically, I want each pet to have certain attributes, such as coat colour, eye colour etc, and when it breeds with another pet, the children's attributes are based on the parents. Would be cool if there’s a slight chance of mutation as well.

TLDR: I want to learn how to make a breeding system with genetics, in Python or JavaScript, and apply it to a website with a database!

  • Like 1
Link to comment
Share on other sites

On 7/4/2021 at 10:24 AM, oakhearted said:

Nice! Whats your discord user? I wanna talk to you more about this, My discord is oakhearted#8284

Hi there! Sorry for the super late reply, i forgot about TGL—I’ll send you a message! My user is notdura#6088

Edited by Kida
Added discord user
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Guidelines, Terms of Use, and Privacy Policy.