Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Catalog / rattfieldnz / FactoryDesignWildlifeSimulator
Public GitHub Catalog Discovered Sep 30, 2026

rattfieldnz / FactoryDesignWildlifeSimulator

This is my first go at implementing the Factory Design Pattern for an application. By using this design pattern, I was able to decouple a lot of code, by delegating responsibility of animal creation to their respective factories. In this example, I implemented two factories - one for North American species, and the other for Australian species. After finishing this application, I quickly realized the code will be easier to maintain than previous applications I have coded. I used Single Responsibility principle so each object is only responsible for its own jobs, Open-Closed principle so classes/objects can be modified by extension, and the Liskov Substitution principle for the Animal classes (each child can be substituted for it's base class).

View repository on GitHub ↗ View creator profile Browse directory

About this discovery

This repository is cataloged as part of our automated global GitHub synchronization. Full telemetry, velocity snapshots, and code summaries are scheduled for continuous enrichment.

#17894040GitHub System ID
rattfieldnzOrganization / User
PublicVisibility
ActiveCatalog Status

More from rattfieldnz

↗

rattfieldnz/shields

Shields badge specification, website and default API server

Discovered
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.