{"id":27040038,"url":"https://github.com/cdvel/drawing_squares","last_synced_at":"2025-04-05T03:27:37.595Z","repository":{"id":34139941,"uuid":"37974876","full_name":"cdvel/drawing_squares","owner":"cdvel","description":"TDD'd coding exercise, brain teaser. Tested with SNAP-CI","archived":false,"fork":false,"pushed_at":"2015-08-03T05:24:31.000Z","size":168,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-02-27T15:17:10.588Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/cdvel.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-24T09:20:40.000Z","updated_at":"2016-03-24T04:08:42.000Z","dependencies_parsed_at":"2022-08-17T23:35:29.794Z","dependency_job_id":null,"html_url":"https://github.com/cdvel/drawing_squares","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdvel%2Fdrawing_squares","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdvel%2Fdrawing_squares/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdvel%2Fdrawing_squares/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdvel%2Fdrawing_squares/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdvel","download_url":"https://codeload.github.com/cdvel/drawing_squares/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284932,"owners_count":20913690,"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":"2025-04-05T03:27:37.106Z","updated_at":"2025-04-05T03:27:37.578Z","avatar_url":"https://github.com/cdvel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[![Build Status](https://snap-ci.com/cesarvelandia/drawing_squares/branch/master/build_image)](https://snap-ci.com/cesarvelandia/drawing_squares/branch/master)\n\n#Drawing Exercise 1\n## Draw a Square\nThis is a square of size 4, with 'x' along the edge of the square and space ' ' in the middle of the square.\n\n```\nxxxx\nx  x\nx  x\nxxxx\n```\n\nHere is the same square represented as a Java string.\nString square4 = \"xxxx\\n\" +\n\"x x\\n\" +\n\"x x\\n\" +\n\"xxxx\";\n\n### Exercise\nWrite code that given a size can return a string, which represents a square of size with 'x' in the edge and space ' ' in the middle, s s same as the square of size 4 shown above The code needs to be  tested using unit tests comprehensively. The code should be  and there is  , it's enough to have the code run by the tests simple no need to create a main method\n\n## Draw multiple squares\nRevisit your program in order to be able to draw multiple squares, by allowing them to be drawn on top of each other. For example, sq3 on top of sq6:\n\n\n```\nxxxxxx\nx x  x\nxxx  x\nx    x\nx    x\nxxxxxx\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdvel%2Fdrawing_squares","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdvel%2Fdrawing_squares","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdvel%2Fdrawing_squares/lists"}