This project aims to develop a simple Rock Paper Scissors game using pure JavaScript and Bootstrap.
In the first phase of this practice, you will focus on single-player functionality:
- Pure JavaScript: Develop the game logic using only JavaScript.
- HTML Semantics: Ensure adherence to HTML semantic principles learned in previous lessons.
- Repository Structure: Follow the predefined structure provided in the repository.
- Color Variables: Utilize color variables for consistent styling.
- Game Start: Initiate the game upon selecting one action (rock, paper, or scissors).
- Computer AI: Implement a simple AI that randomly selects an action.
- Design Reference: Refer to the Figma design for the visual layout.
The second phase introduces multiplayer functionality:
- Multiplayer Mode: Implement a multiplayer feature.
- Input Handling: Create event listeners to handle inputs from both players.
- Keyboard Controls: First player controls actions using "A", "S", and "D" keys.
- Arrow Key Controls: Second player controls actions using arrow keys."← and ↑ and →"
- Result Display: Display the game result based on actions selected by both players.
Please note that for Phase 2, there is no predefined design. Focus on functionality and user experience.
To get started with the project, follow these steps:
- Clone the repository to your local machine.
- Open the project directory in your preferred code editor.
- Start implementing the game according to the provided guidelines.
- Test your implementation thoroughly to ensure it functions correctly.
Best of luck with your Rock Paper Scissors game development! If you have any questions or need assistance, feel free to reach out.