Now you've had an opportunity to get started using GitHub Copilot, we have a number of challenges for you to attempt. Remember the goal here is not to test your programming abilities but rather, see how you can use GitHub Copilot to help you complete these tasks. Even if you've never programmed in Python, you may be surprised how Copilot can help you be successful with these challenge.
Challenge #1 - Adding Lizard and Spock to the game
- Improve the rock paper scissors game by adding Lizard and Spock. Extra Kudos for a terminal interface that provides a list of options with keyboard input. Eg.
$ Choose your option:
1. Rock
2. Paper
3. Scissors
4. Lizard
5. Spock
![Adding Lizard and Spock](/endorphines/copilot-rock-paper-scissors/raw/main/assets/Rock Paper Scissors Lizard Spock image.jpg)
Challenge #2 - Adding Unit Tests
- Implement unit tests using pytest or any testing module of your choice. Try to aim for 100% coverage :)
Business Logic:
![Adding Lizard and Spock](/endorphines/copilot-rock-paper-scissors/raw/main/assets/Rock Paper Scissors Lizard Spock image.jpg)
Challenge #3 - Adding a REST API
- Turn it into a REST API E.g. sending a POST /rock (or json payload) should return a 200 OK response with the result in the body
Once you've completed the challenges, you may like to review the additional resources