From 30f00ec39ba2c5b9f246ca44866eec1c7b3ea606 Mon Sep 17 00:00:00 2001 From: Kristofer Koishigawa Date: Wed, 14 Feb 2024 01:34:16 +0900 Subject: [PATCH] feat: adjust machine learning with python for gitpod (#53584) --- .../rock-paper-scissors.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/curriculum/challenges/english/11-machine-learning-with-python/machine-learning-with-python-projects/rock-paper-scissors.md b/curriculum/challenges/english/11-machine-learning-with-python/machine-learning-with-python-projects/rock-paper-scissors.md index 67c1fa2b87d..4de13f96247 100644 --- a/curriculum/challenges/english/11-machine-learning-with-python/machine-learning-with-python-projects/rock-paper-scissors.md +++ b/curriculum/challenges/english/11-machine-learning-with-python/machine-learning-with-python-projects/rock-paper-scissors.md @@ -10,11 +10,7 @@ dashedName: rock-paper-scissors For this challenge, you will create a program to play Rock, Paper, Scissors. A program that picks at random will usually win 50% of the time. To pass this challenge your program must play matches against four different bots, winning at least 60% of the games in each match. -You will be working on this project with our Replit starter code. - -- Start by importing the project on Replit. -- Next, you will see a `.replit` window. -- Select `Use run command` and click the `Done` button. +You will be working on this project with our Gitpod starter code. We are still developing the interactive instructional part of the machine learning curriculum. For now, you will have to use other resources to learn how to pass this challenge. @@ -50,11 +46,9 @@ For example, here is how you would call the function if you want `player` and `q play(player, quincy, 1000, verbose=True) ``` -Click the "run" button and `main.py` will run. +## Testing -## Testing - -The unit tests for this project are in `test_module.py`. We imported the tests from `test_module.py` to `main.py` for your convenience. If you uncomment the last line in `main.py`, the tests will run automatically whenever you hit the "run" button. +The unit tests for this project are in `test_module.py`. We imported the tests from `test_module.py` to `main.py` for your convenience. If you uncomment the last line in `main.py`, the tests will run automatically whenever you run `python main.py` in the console. ## Submitting