{"id":15102475,"url":"https://github.com/hey-its-d2t2/futureintern_jd_2","last_synced_at":"2026-02-18T23:01:55.523Z","repository":{"id":256407120,"uuid":"855199424","full_name":"hey-its-d2t2/Futureintern_JD_2","owner":"hey-its-d2t2","description":"This project is being built as part of my internship at Future Intern. It represents Task No. 2, where I was assigned to develop a web-based Rock, Paper, Scissors Game. The project is designed with Java Spring Boot for the backend, while the frontend is built using Thymeleaf, HTML, CSS, and JavaScript. The game allows users to challenge the compute","archived":false,"fork":false,"pushed_at":"2024-09-11T08:03:40.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-19T17:59:03.841Z","etag":null,"topics":["css","git","github","html","java","maven","springboot","thymeleaf"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/hey-its-d2t2.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":"2024-09-10T13:37:07.000Z","updated_at":"2024-09-11T09:28:58.000Z","dependencies_parsed_at":"2024-09-10T15:22:31.721Z","dependency_job_id":"f32fe79c-c9c3-4dba-b147-2defbfc2b21a","html_url":"https://github.com/hey-its-d2t2/Futureintern_JD_2","commit_stats":null,"previous_names":["hey-its-d2t2/futureintern_jd_2"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hey-its-d2t2/Futureintern_JD_2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hey-its-d2t2%2FFutureintern_JD_2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hey-its-d2t2%2FFutureintern_JD_2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hey-its-d2t2%2FFutureintern_JD_2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hey-its-d2t2%2FFutureintern_JD_2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hey-its-d2t2","download_url":"https://codeload.github.com/hey-its-d2t2/Futureintern_JD_2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hey-its-d2t2%2FFutureintern_JD_2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29597853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T22:25:43.180Z","status":"ssl_error","status_checked_at":"2026-02-18T22:25:42.766Z","response_time":162,"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":["css","git","github","html","java","maven","springboot","thymeleaf"],"created_at":"2024-09-25T19:01:38.168Z","updated_at":"2026-02-18T23:01:55.506Z","avatar_url":"https://github.com/hey-its-d2t2.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rock, Paper, Scissors Game 🎮\n\nThis project is being built as part of my internship at **Future Intern**. It represents **Task No. 2**, where I was assigned to develop a web-based **Rock, Paper, Scissors Game**. The project is designed with **Java Spring Boot** for the backend, while the frontend is built using **Thymeleaf**, **HTML**, **CSS**, and **JavaScript**. The game allows users to challenge the computer to the classic game of Rock, Paper, Scissors, with a user-friendly and responsive interface.\n\n\n## 🚀 Features\n\n- **Interactive Gameplay**: Allows users to select between Rock, Paper, or Scissors and play against a computer.\n- **Real-Time Results**: Displays the result (win, lose, or tie) instantly after every move.\n- **Responsive UI**: The game is responsive and works well across devices, including desktops, tablets, and mobiles.\n- **Simple and Clean Design**: Designed with a focus on simplicity, making it easy to play and understand.\n- **Replayable**: After each game, a modal appears with the result and the option to play again.\n\n## 🛠️ Tech Stack\n\n- **Backend**: Java, Spring Boot\n- **Frontend**: Thymeleaf, HTML5, CSS3, JavaScript\n- **Templating Engine**: Thymeleaf\n- **Version Control**: Git\n- **Build Tool**: Maven\n- **Testing**: Postman for API testing and manual testing\n- **Tools**: IntelliJ IDEA, Visual Studio Code\n\n## 📜 How to Play\n\n1. Choose your move: **Rock**, **Paper**, or **Scissors**.\n2. Click the **Play** button to submit your choice.\n3. The computer will randomly choose one of the options.\n4. The result (win, lose, or tie) will be displayed along with both choices.\n5. A pop-up modal will show the final result with the option to **Play Again**.\n\n## 📂 Project Structure\n\n\n\n```\nRockPaperScissorsGame/\n├── src/\n│   ├── main/\n│   │   ├── java/\n│   │   │   └── com/\n│   │   │       └── example/\n│   │   │           └── rockpaperscissors/\n│   │   │               ├── controller/\n│   │   │               │   └── GameController.java\n│   │   │               ├── model/\n│   │   │               │   └── Game.java\n│   │   │               └── service/\n│   │   │                   └── GameService.java\n│   │   ├── resources/\n│   │   │   ├── templates/\n│   │   │   │   └── game.html\n│   │   │   └── application.properties\n│   └── test/\n├── screenshots/\n│   └── game.png\n└── README.md\n```\n\n## 🖥️ Setup \u0026 Run Locally\n\nTo run this project on your local machine, follow these steps:\n\n### Prerequisites\n\n- Java 8, 17 or above\n- Maven\n- IDE (IntelliJ IDEA/Visual Studio Code)\n\n### Installation\n\n1. Clone the repository:\n\n   ```\n   git clone https://github.com/your-username/RockPaperScissorsGame.git\n   cd RockPaperScissorsGame\n   ```\n2. Build the project:\n    ```\n     mvn clean install\n   ```\n3. Run the application:\n   ```\n      mvn spring-boot:run\n   ```\n### Open your browser and navigate to http://localhost:8080/game to play!\n\n## ⚙️ API Endpoints\n- **GET\t/game**\tDisplays the game page.\n- **POST\t/play**\tProcesses the user's move.\n## 🎨 UI and Features\n- **Game Board:** A clean interface where users can make their choice (Rock, Paper, or Scissors) and see real-time results.\n- **Modal Pop-up:** A modal dialog box shows the result after each round.\n - **Responsive Layout:** The game looks good on mobile, tablet, and desktop devices.\n## 📸 Screenshots\n- Game Interface\tResult Modal\n\n    ![RockPaperGam](https://github.com/user-attachments/assets/84c03c05-ae29-4963-aac2-2406b71cef69)\n\n## 💡 Future Enhancements\n- Implementing a scoreboard to track wins, losses, and ties over multiple games.\n- Introducing an AI-based difficulty mode.\n- Adding sounds for better game feedback.\n### 📧 Contact\n**Deepak Singh**\n- For any questions or feedback, please contact me at deepsinghkumar01@gmail.com.\n- Feel free to reach out for any questions or contributions!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhey-its-d2t2%2Ffutureintern_jd_2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhey-its-d2t2%2Ffutureintern_jd_2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhey-its-d2t2%2Ffutureintern_jd_2/lists"}