{"id":15762880,"url":"https://github.com/aem/triangleproject","last_synced_at":"2025-03-31T10:13:17.392Z","repository":{"id":33742721,"uuid":"37397437","full_name":"aem/triangleProject","owner":"aem","description":null,"archived":false,"fork":false,"pushed_at":"2015-06-14T16:09:18.000Z","size":204,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-05T11:23:16.965Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-14T03:24:43.000Z","updated_at":"2015-06-14T04:56:18.000Z","dependencies_parsed_at":"2022-08-26T12:12:11.869Z","dependency_job_id":null,"html_url":"https://github.com/aem/triangleProject","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aem%2FtriangleProject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aem%2FtriangleProject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aem%2FtriangleProject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aem%2FtriangleProject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aem","download_url":"https://codeload.github.com/aem/triangleProject/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246450473,"owners_count":20779408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-04T11:23:17.572Z","updated_at":"2025-03-31T10:13:17.369Z","avatar_url":"https://github.com/aem.png","language":"Swift","readme":"# Triangle Project\nThis project was originally a Java program I had written for my high school AP\nComputer Science course. Largely as a teaching exercise for myself, I've decided\nto rebuild this project in Swift. I know it's primitive, but it serves my \npurposes just fine.\n\n# Original Project\nThe original project's goal was to find all solutions for the triangles in the\nimage in the root of this repository. Essentially, find all duplicate triangles.\nThe catch is that the triangles are still considered matches if they can be\nrotated; as long as the colors exist in the same order it's a match.\n\n# Implementation Notes\n## Documentation\nAt the time, as a 16-year-old with relatively little programming experience this\nproved to be a pretty reasonable challenge. The other aspect of the project was\ndocumentation (50% of our grade. Our teacher asking us to comment our code. The\nnerve of some people...). As the functions are relatively straightforward, my \ndocumentation will not be nearly as extensive as it was for this project. Sorry,\nMr. Behnke. ¯\\\\_(ツ)_/¯\n\n## Code Efficiency\nThis implementation of the problem is not necessarily the shortest possible\namount of code, nor is it the most programatically efficient version of the \nsolution. However, I used this implementation to teach myself certain Swift\nprinciples like focusing on Struct usage, conforming to protocols like \n`Equatable`, and properly using `let` and `var`. The one concept I didn't cover\nthat I would have liked is optional values and safe vs. forced unwrapping.\nHopefully I'll get to that in a later project.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faem%2Ftriangleproject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faem%2Ftriangleproject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faem%2Ftriangleproject/lists"}