{"id":21216552,"url":"https://github.com/jackhowa/turtle-turtle","last_synced_at":"2025-03-15T00:41:17.226Z","repository":{"id":78850083,"uuid":"99866265","full_name":"JackHowa/turtle-turtle","owner":"JackHowa","description":"This is a TDD drawer program in Ruby ","archived":false,"fork":false,"pushed_at":"2017-08-10T20:08:05.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T16:44:19.001Z","etag":null,"topics":["hackathon","tdd"],"latest_commit_sha":null,"homepage":"https://www.meetup.com/ChicagoRuby/events/241147344/","language":"Ruby","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/JackHowa.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-10T01:10:01.000Z","updated_at":"2017-08-10T20:06:19.000Z","dependencies_parsed_at":"2023-03-12T06:00:13.141Z","dependency_job_id":null,"html_url":"https://github.com/JackHowa/turtle-turtle","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/JackHowa%2Fturtle-turtle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackHowa%2Fturtle-turtle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackHowa%2Fturtle-turtle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackHowa%2Fturtle-turtle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JackHowa","download_url":"https://codeload.github.com/JackHowa/turtle-turtle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243667964,"owners_count":20328036,"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":["hackathon","tdd"],"created_at":"2024-11-20T21:52:56.744Z","updated_at":"2025-03-15T00:41:17.201Z","avatar_url":"https://github.com/JackHowa.png","language":"Ruby","readme":"# turtle-turtle\n\nOBJECTIVE:\n\nTurtle Tracks is a program that draws ASCII art. The name comes from the imagined movement of a turtle that can only move forward or backward, but it can turn at different angles to change direction.\n\nYour program will take an input file of movement instructions, parse the file, and output another text file with the drawn object.\n\n\n\nINPUT:\n\nThe input for the program will be a text files that contains a series of commands. This is the contents of the text file that we will be working with this evening:\n\n____________________________________________________\n\n41 \n\nRT 90\n\nFD 10\n\nRT 45\n\nFD 5\n\nREPEAT 2 [ RT 90 FD 15 ]\n\nRT 90\n\nFD 5\n\nRT 45\n\nFD 9\n\n______________________________________________________\n\n\n\nREADING THE COMMANDS:\n\nThe first number in the file is the size of the board. Because we are dealing with a square board, this means that it will be a 41 x 41 board. \n\nThe commands are as follows:\n\nFD n - Move the turtle forward, n spaces\n\nBK n - Move the turtle back, n spaces \n\nRT n - Rotate the turtle right, n degrees\n\nLT n - Rotate the turtle left, n degrees\n\nREPEAT n [ commands ] - Sets a series of commands, per the above stated rules, and repeats them n times.\n\nTo keep things simple, the angular rotation will be limited to 45 degree increments. \n\n\n\nOUTPUT:\n\nThe board is a grid. Each placeholder space on the grid will be marked with a period followed by a space.\n\nConsider the turtle your cursor. It starts in the middle of the board, and that spot will be automatically marked, even before any moves are made. The turtle will start facing up, and with each FD or BK step, the period is replaced with a marker to show where the turtle traveled. \n\n\n\nVARIATIONS:\n\nTry making up your own patterns. \n\nSee if you can print the image as an animation in the terminal. \n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackhowa%2Fturtle-turtle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackhowa%2Fturtle-turtle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackhowa%2Fturtle-turtle/lists"}