Whit the following modification, your code now compiles and runs (but does not work correctly for all scenarios -- I'll leave you to fix these):
# Rock, Paper, Scissors Game
import random
# moves for player
moves = ["rock", "paper", "scissors"]
while True:
computer = moves[random.randint(0, 2)]
player = input("rock, paper or scissors? (or end the game)").lower()
if player == "end the game":
print ("The Game Has Ended.")
break
elif player == computer:
print ("Tie!")
elif player == "rock":
if computer == "paper":
print ("You Lose!")
Good luck!