Independent Study 2
*********
*********
Due Date: January 26, 2024
Exam on IP address:

Click on this link to practice:

 

*********
*********
 

Review Independent Project

You come to the Board.

No Project No problem:

We will work on UIL CS Questions or Teach other students

*********
*********
Due Date: February 26, 2024
Assignment:
-Copy fully functioning program to cyber range
-Run the python program.
-Drop it off into google classroom

use nano to create a python file.
example
nano PX_rockPaper_lastname.py

Be sure to create the following files:
PX_rockPaper_lastname.py (Actual python program)
PX_rockPaper_lastname.txt (Copy of python program (use google docs))
PX_rockPaper_lastname.png (Screen shot of program running)
PX_rockPaper_lastname.mp4 (Video of you running the program)
Be sure to drop these off into google classroom.

Source code:
from random import randint

#create a list of play options
t = ["Rock", "Paper", "Scissors"]

#assign a random play to the computer
computer = t[randint(0,2)]

#set player to False
player = False

while player == False:
#set player to True
    player = input("Rock, Paper, Scissors?")
    if player == computer:
        print("Tie!")
    elif player == "Rock":
        if computer == "Paper":
            print("You lose!", computer, "covers", player)
        else:
            print("You win!", player, "smashes", computer)
    elif player == "Paper":
        if computer == "Scissors":
            print("You lose!", computer, "cut", player)
        else:
            print("You win!", player, "covers", computer)
    elif player == "Scissors":
        if computer == "Rock":
            print("You lose...", computer, "smashes", player)
        else:
            print("You win!", player, "cut", computer)
    else:
        print("That's not a valid play. Check your spelling!")
    #player was set to True, but we want it to be False so the loop continues
    player = False
    computer = t[randint(0,2)]
	

*********
*********

Assignment instruction for above code:
-Copy and paste the code above into 
-Your cyber range / file PX_rockPaper_lastname.py

Click here to see watch a video on how to do this.
(www.cusack2.com)
Click here to see watch a video on how to do this.
(Youtube)

*********
*********
 
  
Cyber Range Passwords 
Sign on ids for Period 2
Click here and get your id and password.

Cyber Range Passwords 
Sign on ids for Period 6
Click here and get your id and password.

Cyber Range Passwords 
Sign on ids for Period 7
Click here and get your id and password.

Click here for your cyber range.
https://apps.cyber.org/login

*********
*********

Assignment
-Using Linux and the python interpreter

If you have forgotten how to boot up your Kali Linux machine and run python.
Click here for full instructions.

*********
*********