{"id":20119014,"url":"https://github.com/clonephaze/rockpaperscissors","last_synced_at":"2026-05-05T16:41:09.739Z","repository":{"id":216258497,"uuid":"740581385","full_name":"Clonephaze/RockPaperScissors","owner":"Clonephaze","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-10T22:34:05.000Z","size":1158,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T07:09:20.333Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://clonephaze.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/Clonephaze.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}},"created_at":"2024-01-08T16:29:03.000Z","updated_at":"2024-01-10T18:30:01.000Z","dependencies_parsed_at":"2024-01-10T20:25:54.727Z","dependency_job_id":null,"html_url":"https://github.com/Clonephaze/RockPaperScissors","commit_stats":null,"previous_names":["clonephaze/rock-paper-scissors-master","clonephaze/rockpaperscissors"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clonephaze%2FRockPaperScissors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clonephaze%2FRockPaperScissors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clonephaze%2FRockPaperScissors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clonephaze%2FRockPaperScissors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Clonephaze","download_url":"https://codeload.github.com/Clonephaze/RockPaperScissors/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241564447,"owners_count":19982958,"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-11-13T19:13:47.665Z","updated_at":"2026-05-05T16:41:09.428Z","avatar_url":"https://github.com/Clonephaze.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend Mentor - Rock, Paper, Scissors solution\n\nThis is a solution to the [Rock, Paper, Scissors challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/rock-paper-scissors-game-pTgwgvgH). Frontend Mentor challenges help you improve your coding skills by building realistic projects. \n\n## Table of contents\n\n- [Frontend Mentor - Rock, Paper, Scissors solution](#frontend-mentor---rock-paper-scissors-solution)\n  - [Table of contents](#table-of-contents)\n  - [Overview](#overview)\n    - [The challenge](#the-challenge)\n    - [Screenshot](#screenshot)\n    - [Links](#links)\n  - [My process](#my-process)\n    - [Built with](#built-with)\n    - [What I learned](#what-i-learned)\n    - [Continued development](#continued-development)\n  - [Author](#author)\n\n## Overview\n\n### The challenge\n\nUsers should be able to:\n\n- ✔ View the optimal layout for the game depending on their device's screen size\n- ✔ Play Rock, Paper, Scissors against the computer\n- ✔ Maintain the state of the score after refreshing the browser _(optional)_\n- ✔ **Bonus**: Play Rock, Paper, Scissors, Lizard, Spock against the computer _(optional)_\n\n### Screenshot\n\n![](ChallengeCompleteDesktop.png)\n\n![](ChallengeCompleteMobile.png)\n\n### Links\n\n- Solution URL: [Github](https://github.com/Clonephaze/rock-paper-scissors-master)\n- Live Site URL: [Github Pages](https://clonephaze.github.io/rock-paper-scissors-master/)\n\n## My process\n\n### Built with\n\n- Semantic HTML5 markup\n- CSS custom properties\n- Flexbox\n- Vanilla JavaScript/HTML/CSS\n- [Animista CSS library](https://animista.net/) for CSS animations\n\n\n### What I learned\n\nI learned a lot about Javscript on this one! Which is good, cause that was my entire goal for this project. I watched some videos and looked at some other projects on codepen to see other peoples approach, then smashed things together until it worked right! I think I did a pretty good job actually, like this javascript section:\n\n```js\nswitch (userChoice + computerChoice) {\n        case \"scissorspaper\":\n        case \"paperrock\":\n        case \"rocklizard\":\n        case \"lizardspock\":\n        case \"spockscissors\":\n        case \"scissorslizard\":\n        case \"paperspock\":\n        case \"rockscissors\":\n        case \"lizardpaper\":\n        case \"spockrock\": {\n            console.log(`You chose ${userChoice} and the computer chose ${computerChoice}`);\n            choiceMade(\"win\", computerChoice);\n        }\n        break;\n        case \"scissorsscissors\":\n        case \"paperpaper\":\n        case \"rockrock\":\n        case \"lizardlizard\":\n        case \"spockspock\": {\n            console.log(`You and the computer both chose ${userChoice}`);\n            choiceMade(\"tie\", computerChoice);\n        }\n        break;\n        default: {\n            console.log(`You chose ${userChoice} and the computer chose ${computerChoice}`);\n            choiceMade(\"lose\", computerChoice);\n        }\n\n    }\n```\nI personally think that looks great for being basically the entire game logic lol. \n\n### Continued development\n\nDefinitely wanna work on some more games to sharpen my javascript skills some more.\n\n## Author\n\n- Website - [Clonephaze](https://www.github.com/Clonephaze)\n- Frontend Mentor - [@Clonephaze](https://www.frontendmentor.io/profile/Clonephaze)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclonephaze%2Frockpaperscissors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclonephaze%2Frockpaperscissors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclonephaze%2Frockpaperscissors/lists"}