{"id":26163924,"url":"https://github.com/johnkeyscloud/rockpaperscissors","last_synced_at":"2026-04-11T00:49:01.754Z","repository":{"id":63381319,"uuid":"544597168","full_name":"JohnKeysCloud/rockPaperScissors","owner":"JohnKeysCloud","description":"A simple game of Rock, Paper, Scissors built using HTML, CSS \u0026 JavaScript for The Odin Project. ","archived":false,"fork":false,"pushed_at":"2023-01-03T01:01:56.000Z","size":1705,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-03-04T16:52:29.432Z","etag":null,"topics":["css3","html5","javascript","javascript-game","rock-paper-scissors","theodinproject"],"latest_commit_sha":null,"homepage":"https://johnkeyscloud.github.io/rockPaperScissors/","language":"CSS","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/JohnKeysCloud.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":"2022-10-02T21:36:48.000Z","updated_at":"2022-11-18T18:44:14.000Z","dependencies_parsed_at":"2023-02-01T04:45:42.286Z","dependency_job_id":null,"html_url":"https://github.com/JohnKeysCloud/rockPaperScissors","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/JohnKeysCloud%2FrockPaperScissors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnKeysCloud%2FrockPaperScissors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnKeysCloud%2FrockPaperScissors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnKeysCloud%2FrockPaperScissors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JohnKeysCloud","download_url":"https://codeload.github.com/JohnKeysCloud/rockPaperScissors/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243057266,"owners_count":20229174,"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":["css3","html5","javascript","javascript-game","rock-paper-scissors","theodinproject"],"created_at":"2025-03-11T14:53:33.665Z","updated_at":"2025-12-25T00:34:42.370Z","avatar_url":"https://github.com/JohnKeysCloud.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rockPaperScissors\n[\u003cimg width=\"965\" alt=\"Screen Shot 2022-11-18 at 6 51 20 AM\" src=\"https://user-images.githubusercontent.com/90482169/202699133-aa820f62-adee-4503-9f27-6a91c9bb6a57.png\"\u003e](https://johnkeyscloud.github.io/rockPaperScissors/)\n\n\nA simple game of Rock, Paper, Scissors I designed and programmed using vanilla HTML, CSS \u0026 JavaScript for \u003ca href=\"https://www.theodinproject.com/lessons/foundations-rock-paper-scissors\" target=\"_blank\"\u003eThe Odin Project\u003c/a\u003e.\n\n### Notes\n\nI had a lot of fun writing this… though there was this one point in time I was *exhausted* and wanted to finish writing a particular **forEach()** function in the script but my brain woudn't allow me to. I spent over an hour messing with code, erasing eveything and starting over a few times. My mind went blank and everything else I had written looked foreign to me lol; However, instead of taking a nap… I said no! I made some **ocha** (green tea in Japanese) and stood outside in 34 degree NYC weather in a t-shirt for a few minutes, came back, and fortunately figured it out pretty quickly. The gratification was worth it, at last, I took a break 💔! It's my favorite code snippet from the project (see below 😅). The snippet determines which animation to run depending on whether or not the player *and* bot made the same choice in the round of the game. If any round results in a tie, the image of the computers choice is translated a few pixels upwards, rotated 360deg, then is translated back down. Otherwise the image would just be rotated, sin translation. \nAnyway… I hope you like it lol, k thanks bye ✌🏽\n\n### - ツkc💭\n\n## Tools\n* VS Code\n* Git \u0026 Github\n* HTML5\n* CSS3 \n* JavaScript ES6\n* Terminal\n\n## Summary\n* Used HTML5 **semantic elements** for better readability, structure \u0026 accessibility.\n* Used CSS3 **Flexbox** \u0026 **Grid** to create a dynamic layout without the use of media queries in combination with various CSS functions such as **clamp()** for responsive text.\n* Used **Git** \u0026 **GitHub** for source control/project management. \n* **Cross tested** design and functionality on desktop \u0026 mobile browsers.\n\n## cloudySnippets💭\n![cloudSnippets1](https://user-images.githubusercontent.com/90482169/202843102-b52debe7-2e26-449d-9466-c04f23d6cc8a.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnkeyscloud%2Frockpaperscissors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnkeyscloud%2Frockpaperscissors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnkeyscloud%2Frockpaperscissors/lists"}