{"action":"created","comment":{"url":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/comments/181230986","pull_request_review_id":111801490,"id":181230986,"diff_hunk":"@@ -0,0 +1,41 @@\n+---\n+layout: post\n+title: D&D Make-A-Map\n+date: 2018-04-12\n+categories: projects\n+description: A web app that randomly generates a D&D Battlemap based on user parameters\n+author: Justin Gonzales\n+author-image: https://avatars2.githubusercontent.com/u/34696177?s=460&v=4\n+author-bio: First Year Computer Security Student at Rochester Institute of Technology\n+author-email: jag2724@rit.edu\n+author-social:\n+  github: https://github.com/justing0927\n+---\n+# Summary\n+D&D Make-A-Map is a web-app built using the Create React App, made to randomly generate d&d maps with various biomes and obstacles with the click of a button (or 3).\n+It's built using Node.JS and has documentation on how to build it locally or as a server.\n+The application utilizes JSX, html, and javascript and user input to create it's random maps.\n+\n+# The Journey\n+\n+D&D Battlemaps can be frustrating. Either you spend hours to settle for an imperfect map, you spend significant time drawing out a map during the session\n+to fit your needs, or even forgo the map altogether. Oftentimes, you only need a quick, concrete, place to get one's bearings. \n+It's even worse for unexpected encounters where you need a map. So, I set out to do what needed done.\n+I wanted to have something that could quickly generate a map based on a biome and some other input parameters, like for obstacles (and I think it turned out pretty alright).\n+\n+I needed a web-app, and having never done anything in HTML, Javascript, I figured I might as well throw myself into the deep-end, and try and use React, as I knew\n+it was a popular front-end app deal.\n+It took hours to start getting anything done, but I learned a lot in the process about HTML, Javascript, states, buttons, and how exactly not to organize the code\n+for a web-app. This is where I met the first big roadblock. \n+I was starting nearly from scratch (the Create React App helpfully creates the necessary files and an example page), and needed to figure out how to DO things.\n+Hours of tutorials, trial and error, and I finally understood how to set a components state and have that change things. \n+\n+So, I had gotten buttons working! Options! Input values! The keys to doing somethign!\n+All that was left was creating the actual map, and displaying it correctly, how hard could that be?\n+Of course, that's the essence of the project, and it had me stumped for awhile. The second biggest roadblock.\n+But hey, eventually after hours of researching and trying things from button groups to a crazy attempt to display each object individually, I stumbled on html tables.","path":"_posts/2018-04-12-make-a-map.md","position":36,"original_position":36,"commit_id":"9d5587728aaa62788299da6e9256f00224432d4f","original_commit_id":"9d5587728aaa62788299da6e9256f00224432d4f","user":{"login":"RamZallan","id":5818258,"avatar_url":"https://avatars0.githubusercontent.com/u/5818258?v=4","gravatar_id":"","url":"https://api.github.com/users/RamZallan","html_url":"https://github.com/RamZallan","followers_url":"https://api.github.com/users/RamZallan/followers","following_url":"https://api.github.com/users/RamZallan/following{/other_user}","gists_url":"https://api.github.com/users/RamZallan/gists{/gist_id}","starred_url":"https://api.github.com/users/RamZallan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RamZallan/subscriptions","organizations_url":"https://api.github.com/users/RamZallan/orgs","repos_url":"https://api.github.com/users/RamZallan/repos","events_url":"https://api.github.com/users/RamZallan/events{/privacy}","received_events_url":"https://api.github.com/users/RamZallan/received_events","type":"User","site_admin":false},"body":"IMO, just start the sentence with `Eventually,`","created_at":"2018-04-12T21:45:08Z","updated_at":"2018-04-12T21:46:14Z","html_url":"https://github.com/ComputerScienceHouse/blog/pull/69#discussion_r181230986","pull_request_url":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/69","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/comments/181230986"},"html":{"href":"https://github.com/ComputerScienceHouse/blog/pull/69#discussion_r181230986"},"pull_request":{"href":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/69"}}},"pull_request":{"url":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/69","id":181320738,"html_url":"https://github.com/ComputerScienceHouse/blog/pull/69","diff_url":"https://github.com/ComputerScienceHouse/blog/pull/69.diff","patch_url":"https://github.com/ComputerScienceHouse/blog/pull/69.patch","issue_url":"https://api.github.com/repos/ComputerScienceHouse/blog/issues/69","number":69,"state":"open","locked":false,"title":"add blog post for make a map","user":{"login":"justing0927","id":34696177,"avatar_url":"https://avatars1.githubusercontent.com/u/34696177?v=4","gravatar_id":"","url":"https://api.github.com/users/justing0927","html_url":"https://github.com/justing0927","followers_url":"https://api.github.com/users/justing0927/followers","following_url":"https://api.github.com/users/justing0927/following{/other_user}","gists_url":"https://api.github.com/users/justing0927/gists{/gist_id}","starred_url":"https://api.github.com/users/justing0927/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justing0927/subscriptions","organizations_url":"https://api.github.com/users/justing0927/orgs","repos_url":"https://api.github.com/users/justing0927/repos","events_url":"https://api.github.com/users/justing0927/events{/privacy}","received_events_url":"https://api.github.com/users/justing0927/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-12T20:45:14Z","updated_at":"2018-04-12T21:46:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb6de162cf4efa9027a4aff09cd49b98460ef9c2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/69/commits","review_comments_url":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/69/comments","review_comment_url":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ComputerScienceHouse/blog/issues/69/comments","statuses_url":"https://api.github.com/repos/ComputerScienceHouse/blog/statuses/9d5587728aaa62788299da6e9256f00224432d4f","head":{"label":"justing0927:justin-make-a-map","ref":"justin-make-a-map","sha":"9d5587728aaa62788299da6e9256f00224432d4f","user":{"login":"justing0927","id":34696177,"avatar_url":"https://avatars1.githubusercontent.com/u/34696177?v=4","gravatar_id":"","url":"https://api.github.com/users/justing0927","html_url":"https://github.com/justing0927","followers_url":"https://api.github.com/users/justing0927/followers","following_url":"https://api.github.com/users/justing0927/following{/other_user}","gists_url":"https://api.github.com/users/justing0927/gists{/gist_id}","starred_url":"https://api.github.com/users/justing0927/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justing0927/subscriptions","organizations_url":"https://api.github.com/users/justing0927/orgs","repos_url":"https://api.github.com/users/justing0927/repos","events_url":"https://api.github.com/users/justing0927/events{/privacy}","received_events_url":"https://api.github.com/users/justing0927/received_events","type":"User","site_admin":false},"repo":{"id":128859430,"name":"blog","full_name":"justing0927/blog","owner":{"login":"justing0927","id":34696177,"avatar_url":"https://avatars1.githubusercontent.com/u/34696177?v=4","gravatar_id":"","url":"https://api.github.com/users/justing0927","html_url":"https://github.com/justing0927","followers_url":"https://api.github.com/users/justing0927/followers","following_url":"https://api.github.com/users/justing0927/following{/other_user}","gists_url":"https://api.github.com/users/justing0927/gists{/gist_id}","starred_url":"https://api.github.com/users/justing0927/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justing0927/subscriptions","organizations_url":"https://api.github.com/users/justing0927/orgs","repos_url":"https://api.github.com/users/justing0927/repos","events_url":"https://api.github.com/users/justing0927/events{/privacy}","received_events_url":"https://api.github.com/users/justing0927/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/justing0927/blog","description":"A public blog for CSH","fork":true,"url":"https://api.github.com/repos/justing0927/blog","forks_url":"https://api.github.com/repos/justing0927/blog/forks","keys_url":"https://api.github.com/repos/justing0927/blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justing0927/blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justing0927/blog/teams","hooks_url":"https://api.github.com/repos/justing0927/blog/hooks","issue_events_url":"https://api.github.com/repos/justing0927/blog/issues/events{/number}","events_url":"https://api.github.com/repos/justing0927/blog/events","assignees_url":"https://api.github.com/repos/justing0927/blog/assignees{/user}","branches_url":"https://api.github.com/repos/justing0927/blog/branches{/branch}","tags_url":"https://api.github.com/repos/justing0927/blog/tags","blobs_url":"https://api.github.com/repos/justing0927/blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justing0927/blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justing0927/blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/justing0927/blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justing0927/blog/statuses/{sha}","languages_url":"https://api.github.com/repos/justing0927/blog/languages","stargazers_url":"https://api.github.com/repos/justing0927/blog/stargazers","contributors_url":"https://api.github.com/repos/justing0927/blog/contributors","subscribers_url":"https://api.github.com/repos/justing0927/blog/subscribers","subscription_url":"https://api.github.com/repos/justing0927/blog/subscription","commits_url":"https://api.github.com/repos/justing0927/blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/justing0927/blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/justing0927/blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/justing0927/blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/justing0927/blog/contents/{+path}","compare_url":"https://api.github.com/repos/justing0927/blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justing0927/blog/merges","archive_url":"https://api.github.com/repos/justing0927/blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justing0927/blog/downloads","issues_url":"https://api.github.com/repos/justing0927/blog/issues{/number}","pulls_url":"https://api.github.com/repos/justing0927/blog/pulls{/number}","milestones_url":"https://api.github.com/repos/justing0927/blog/milestones{/number}","notifications_url":"https://api.github.com/repos/justing0927/blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justing0927/blog/labels{/name}","releases_url":"https://api.github.com/repos/justing0927/blog/releases{/id}","deployments_url":"https://api.github.com/repos/justing0927/blog/deployments","created_at":"2018-04-10T02:08:22Z","updated_at":"2018-04-10T02:08:25Z","pushed_at":"2018-04-12T20:44:39Z","git_url":"git://github.com/justing0927/blog.git","ssh_url":"git@github.com:justing0927/blog.git","clone_url":"https://github.com/justing0927/blog.git","svn_url":"https://github.com/justing0927/blog","homepage":null,"size":111,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ComputerScienceHouse:master","ref":"master","sha":"948ddd23d42ee51ebe4e6bb9fa53a6bbde296db3","user":{"login":"ComputerScienceHouse","id":318130,"avatar_url":"https://avatars0.githubusercontent.com/u/318130?v=4","gravatar_id":"","url":"https://api.github.com/users/ComputerScienceHouse","html_url":"https://github.com/ComputerScienceHouse","followers_url":"https://api.github.com/users/ComputerScienceHouse/followers","following_url":"https://api.github.com/users/ComputerScienceHouse/following{/other_user}","gists_url":"https://api.github.com/users/ComputerScienceHouse/gists{/gist_id}","starred_url":"https://api.github.com/users/ComputerScienceHouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ComputerScienceHouse/subscriptions","organizations_url":"https://api.github.com/users/ComputerScienceHouse/orgs","repos_url":"https://api.github.com/users/ComputerScienceHouse/repos","events_url":"https://api.github.com/users/ComputerScienceHouse/events{/privacy}","received_events_url":"https://api.github.com/users/ComputerScienceHouse/received_events","type":"Organization","site_admin":false},"repo":{"id":107344813,"name":"blog","full_name":"ComputerScienceHouse/blog","owner":{"login":"ComputerScienceHouse","id":318130,"avatar_url":"https://avatars0.githubusercontent.com/u/318130?v=4","gravatar_id":"","url":"https://api.github.com/users/ComputerScienceHouse","html_url":"https://github.com/ComputerScienceHouse","followers_url":"https://api.github.com/users/ComputerScienceHouse/followers","following_url":"https://api.github.com/users/ComputerScienceHouse/following{/other_user}","gists_url":"https://api.github.com/users/ComputerScienceHouse/gists{/gist_id}","starred_url":"https://api.github.com/users/ComputerScienceHouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ComputerScienceHouse/subscriptions","organizations_url":"https://api.github.com/users/ComputerScienceHouse/orgs","repos_url":"https://api.github.com/users/ComputerScienceHouse/repos","events_url":"https://api.github.com/users/ComputerScienceHouse/events{/privacy}","received_events_url":"https://api.github.com/users/ComputerScienceHouse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ComputerScienceHouse/blog","description":"A public blog for CSH","fork":false,"url":"https://api.github.com/repos/ComputerScienceHouse/blog","forks_url":"https://api.github.com/repos/ComputerScienceHouse/blog/forks","keys_url":"https://api.github.com/repos/ComputerScienceHouse/blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ComputerScienceHouse/blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ComputerScienceHouse/blog/teams","hooks_url":"https://api.github.com/repos/ComputerScienceHouse/blog/hooks","issue_events_url":"https://api.github.com/repos/ComputerScienceHouse/blog/issues/events{/number}","events_url":"https://api.github.com/repos/ComputerScienceHouse/blog/events","assignees_url":"https://api.github.com/repos/ComputerScienceHouse/blog/assignees{/user}","branches_url":"https://api.github.com/repos/ComputerScienceHouse/blog/branches{/branch}","tags_url":"https://api.github.com/repos/ComputerScienceHouse/blog/tags","blobs_url":"https://api.github.com/repos/ComputerScienceHouse/blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ComputerScienceHouse/blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ComputerScienceHouse/blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/ComputerScienceHouse/blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ComputerScienceHouse/blog/statuses/{sha}","languages_url":"https://api.github.com/repos/ComputerScienceHouse/blog/languages","stargazers_url":"https://api.github.com/repos/ComputerScienceHouse/blog/stargazers","contributors_url":"https://api.github.com/repos/ComputerScienceHouse/blog/contributors","subscribers_url":"https://api.github.com/repos/ComputerScienceHouse/blog/subscribers","subscription_url":"https://api.github.com/repos/ComputerScienceHouse/blog/subscription","commits_url":"https://api.github.com/repos/ComputerScienceHouse/blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/ComputerScienceHouse/blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/ComputerScienceHouse/blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/ComputerScienceHouse/blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/ComputerScienceHouse/blog/contents/{+path}","compare_url":"https://api.github.com/repos/ComputerScienceHouse/blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ComputerScienceHouse/blog/merges","archive_url":"https://api.github.com/repos/ComputerScienceHouse/blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ComputerScienceHouse/blog/downloads","issues_url":"https://api.github.com/repos/ComputerScienceHouse/blog/issues{/number}","pulls_url":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls{/number}","milestones_url":"https://api.github.com/repos/ComputerScienceHouse/blog/milestones{/number}","notifications_url":"https://api.github.com/repos/ComputerScienceHouse/blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ComputerScienceHouse/blog/labels{/name}","releases_url":"https://api.github.com/repos/ComputerScienceHouse/blog/releases{/id}","deployments_url":"https://api.github.com/repos/ComputerScienceHouse/blog/deployments","created_at":"2017-10-18T01:44:34Z","updated_at":"2018-04-12T20:42:33Z","pushed_at":"2018-04-12T21:38:21Z","git_url":"git://github.com/ComputerScienceHouse/blog.git","ssh_url":"git@github.com:ComputerScienceHouse/blog.git","clone_url":"https://github.com/ComputerScienceHouse/blog.git","svn_url":"https://github.com/ComputerScienceHouse/blog","homepage":null,"size":118,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"archived":false,"open_issues_count":33,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":47,"open_issues":33,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/69"},"html":{"href":"https://github.com/ComputerScienceHouse/blog/pull/69"},"issue":{"href":"https://api.github.com/repos/ComputerScienceHouse/blog/issues/69"},"comments":{"href":"https://api.github.com/repos/ComputerScienceHouse/blog/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ComputerScienceHouse/blog/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/ComputerScienceHouse/blog/statuses/9d5587728aaa62788299da6e9256f00224432d4f"}},"author_association":"NONE"}}
{"actor":{"display_login":"RamZallan"}}