Python Forum
[PyGame] Rock,paper,scissors Game(beginner)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGame] Rock,paper,scissors Game(beginner)
#6
Looks like you are using python 3.x .Change that line to
print('{} won'.format(player1))
change all the print statements to print functions and change all the raw_input() to input()
Recommended Tutorials:
Reply


Messages In This Thread
Rock,paper,scissors Game(beginner) - by r0d - Sep-28-2017, 09:19 PM
RE: Rock,paper,scissors Game(beginner) - by nilamo - Sep-28-2017, 09:20 PM
RE: Rock,paper,scissors Game(beginner) - by r0d - Sep-28-2017, 09:25 PM
RE: Rock,paper,scissors Game(beginner) - by nilamo - Sep-28-2017, 09:27 PM
RE: Rock,paper,scissors Game(beginner) - by r0d - Sep-28-2017, 09:39 PM
RE: Rock,paper,scissors Game(beginner) - by metulburr - Sep-28-2017, 10:41 PM
RE: Rock,paper,scissors Game(beginner) - by nilamo - Sep-28-2017, 11:03 PM
RE: Rock,paper,scissors Game(beginner) - by r0d - Sep-29-2017, 11:45 PM
RE: Rock,paper,scissors Game(beginner) - by r0d - Jan-16-2018, 08:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock/Paper/Scissors Game 1 abscorpy 6 3,884 Dec-01-2020, 10:08 PM
Last Post: metulburr
  randomization code in rock, paper, scissors cel 4 2,748 May-28-2020, 08:48 PM
Last Post: cel
  rock paper scissors game abscorpy 8 4,682 Feb-14-2019, 07:20 PM
Last Post: abscorpy
  Rock Paper Scissors Game, I need help. extraguac 2 2,591 Feb-14-2019, 04:34 AM
Last Post: extraguac

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020