{"id":36985599,"url":"https://github.com/syniol/rock-paper-scissors-lizard-spock","last_synced_at":"2026-01-13T23:02:43.722Z","repository":{"id":326551855,"uuid":"1106078411","full_name":"syniol/rock-paper-scissors-lizard-spock","owner":"syniol","description":"Rock, Paper, Scissors, Lizard, and Spock CLI Game in Go (Golang)","archived":false,"fork":false,"pushed_at":"2025-12-18T11:05:01.000Z","size":3598,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-13T19:49:44.300Z","etag":null,"topics":["cli","command-line-tool","game","go","golang","rock-paper-scissors-game","rock-paper-scissors-lizard-spock"],"latest_commit_sha":null,"homepage":"https://syniol.com","language":"Go","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/syniol.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-28T15:41:07.000Z","updated_at":"2025-12-18T11:03:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/syniol/rock-paper-scissors-lizard-spock","commit_stats":null,"previous_names":["syniol/rock-paper-scissors-lizard-spock"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/syniol/rock-paper-scissors-lizard-spock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syniol%2Frock-paper-scissors-lizard-spock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syniol%2Frock-paper-scissors-lizard-spock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syniol%2Frock-paper-scissors-lizard-spock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syniol%2Frock-paper-scissors-lizard-spock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/syniol","download_url":"https://codeload.github.com/syniol/rock-paper-scissors-lizard-spock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syniol%2Frock-paper-scissors-lizard-spock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405148,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cli","command-line-tool","game","go","golang","rock-paper-scissors-game","rock-paper-scissors-lizard-spock"],"created_at":"2026-01-13T23:02:43.238Z","updated_at":"2026-01-13T23:02:43.715Z","avatar_url":"https://github.com/syniol.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rock, Paper, Scissors, Lizard, Spock in Go \u003csup\u003e(GoLang)\u003c/sup\u003e\n![workflow](https://github.com/syniol/rock-paper-scissors-lizard-spock/actions/workflows/pipeline.yml/badge.svg)    ![workflow](https://github.com/syniol/rock-paper-scissors-lizard-spock/actions/workflows/release.yml/badge.svg)\n\n\u003cdiv align=\"center\"\u003e\n    \u003cp align=\"center\" style=\"width: 50%; float: left;\"\u003e\u003ca href=\"https://syniol.com\" target=\"blank\"\u003e\u003cimg alt=\"Single Player Demo\" width=\"50%\" src=\"https://github.com/syniol/rock-paper-scissors-lizard-spock/blob/main/docs/single-player-demo-optimised.gif?raw=true\" /\u003e\u003c/a\u003e\n    \u003csup\u003e\u003cbr /\u003eSingle Player Demo\u003c/sup\u003e\u003c/p\u003e\n\n\u003cp align=\"center\" style=\"width: 50%; float: right;\"\u003e\u003ca href=\"https://syniol.com\" target=\"blank\"\u003e\u003cimg alt=\"Two Players Demo\" width=\"50%\" src=\"https://github.com/syniol/rock-paper-scissors-lizard-spock/blob/main/docs/two-players-demo-optimised.gif?raw=true\" /\u003e\u003c/a\u003e\n    \u003csup\u003e\u003cbr /\u003eTwo Players Demo\u003c/sup\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n\u003ca href='https://www.youtube.com/watch?v=pIpmITBocfM' rel=\"noopener noreferrer\" target='_blank'\u003eThe game\u003c/a\u003e invented by Sam Kass with his wife Karen Bryla is played between two players. Each player chooses one of the five options:\n- **Rock**\n- **Paper**\n- **Scissors**\n- **Lizard**\n- **Spock**\n\nThe winner is determined by the following rules:\n\n| **Choice**   | **Wins Against** | **Reason**                       |\n|--------------|------------------|----------------------------------|\n| **Scissors** | Paper, Lizard    | Cuts Paper, Decapitates Lizard   |\n| **Paper**    | Rock, Spock      | Covers Rock, Disproves Spock     |\n| **Rock**     | Scissors, Lizard | Crushes Scissors, Crushes Lizard |\n| **Lizard**   | Paper, Spock     | Eats Paper, Poisons Spock        |\n| **Spock**    | Scissors, Rock   | Smashes Scissors, Vaporizes Rock |\n\nIf both players choose the same option, the game results in a **tie**.\n\n\n## Features and Acceptance Criteria\n- [X] **Interactive Gameplay**: Players can select their choice, and the winner is determined based on the rules.\n- [X] **Clear Visual Feedback**: Winning and losing outcomes are displayed in an engaging and intuitive way.\n- [X] **Scoreboard**: Tracks the points of the user and the computer across multiple rounds.\n- [X] **Data Persistence**: Retains the game state and scoreboard.\n- [X] **Restart**: Allows the user to restart the game, clearing the scoreboard and resetting the game state.\n\n\n## Motivation\nI recently got asked to come in for a second interview at this awesome robotics company in London. I was super pumped about what they do.\n\nHowever, the pair programming exercise could be pretty tough for me. I struggle with stress, and they switched up the technical challenge \nat the last minute. The engineer assigned to the exercise seemed really nice, though. I think he was a bit let down, but he had no idea \nabout my ADD, which I always keep under wraps. I even flunked my motorbike test nine times before finally passing, and I never mentioned \nmy condition to the examiner.\n\nThis was one of their take-home exercises that I started but never got to demo, and I ended up failing the pairing exercise. I wrapped it \nup just to save face, hoping the engineers at that company might see that I'm not as bad as I seem, haha.\n\n\n## Up and Running\nYou can download the compiled binary for your operating system from [the release page](https://github.com/syniol/rock-paper-scissors-lizard-spock/releases). You could \nalso download and build from source code. You need to have a Go installation for version `1.24.x`.\n\n```shell\n./rpsls-cli-mac-os-arm64\n```\n\nFor Unix based operating systems you could use:\n```shell\nmake run\n```\n\nFor Windows, please use the following command:\n```shell\ngo run cmd\\cli.go\n```\n\n\n### Dependencies\n * [CLI Forms](https://github.com/charmbracelet/huh)\n * [CLI Table Colour Format](https://github.com/fatih/color)\n * [CLI Table Display](https://github.com/rodaine/table)\n\n\n#### Credits\nAuthor: [Hadi Tajallaei \u003csup\u003e_(Genius Persian Child)_\u003csup\u003e](mailto:hadi@syniol.com)\n\nCopyright \u0026copy; 2025 Syniol Limited. All rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyniol%2Frock-paper-scissors-lizard-spock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyniol%2Frock-paper-scissors-lizard-spock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyniol%2Frock-paper-scissors-lizard-spock/lists"}