<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: JRRyan606</title>
    <description>The latest articles on DEV Community by JRRyan606 (@ryan_jr).</description>
    <link>https://dev.to/ryan_jr</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F678390%2Fa93c149a-8a5e-492a-98ec-8b2e72132e21.png</url>
      <title>DEV Community: JRRyan606</title>
      <link>https://dev.to/ryan_jr</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ryan_jr"/>
    <language>en</language>
    <item>
      <title>Rock, Paper, Scissors game in Python</title>
      <dc:creator>JRRyan606</dc:creator>
      <pubDate>Mon, 04 Oct 2021 05:18:21 +0000</pubDate>
      <link>https://dev.to/ryan_jr/rock-paper-scissors-game-in-python-3n2</link>
      <guid>https://dev.to/ryan_jr/rock-paper-scissors-game-in-python-3n2</guid>
      <description>&lt;p&gt;Hey there,  this is a simple GUI-Based Rock Paper Scissors game in python.&lt;/p&gt;

&lt;p&gt;Link to the github repo: &lt;a href="https://github.com/JRRyan606/Rock-Paper-Scissors-Tk-Gui"&gt;https://github.com/JRRyan606/Rock-Paper-Scissors-Tk-Gui&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;IMPORTANT, PLEASE READ THIS:&lt;/p&gt;

&lt;p&gt;The credit for this project MUST go to Bro code, He made a video in his Youtube channel called Python rock, paper, scissors game where he created a CLI-Based rock, paper, scissors game in python. I have created the GUI version of it. There are some features that Bro code created in his rock, paper, scissors game that is NOT YET coded in my gui version of the game. I will be coding it soon...&lt;/p&gt;

&lt;p&gt;Link to Bro code's Youtube channel: &lt;a href="https://www.youtube.com/channel/UC4SVo0Ue36XCfOyb5Lh1viQ"&gt;https://www.youtube.com/channel/UC4SVo0Ue36XCfOyb5Lh1viQ&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Link to the Python rock, paper, scissors game Youtube video: &lt;a href="https://youtu.be/GhPZHvhvlsk"&gt;https://youtu.be/GhPZHvhvlsk&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you want to address any bugs on this project or some improvements that can be made on this project, feel free to email me about it at: &lt;a href="mailto:ryanjustin25706@gmail.com"&gt;ryanjustin25706@gmail.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is my first Tkinter project using Python, any improvements or suggestions is highly appreciated!!. Thanks.&lt;/p&gt;

&lt;p&gt;For those of you who have some problems seeing the code from the above github link, here's is the code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;from tkinter import *
import random

win = Tk()
win.title("Rock, Paper, Scissors")
win.geometry("801x300")


options = ["rock", "paper", "scissors"]
computer = random.choice(options)




def show():
    info = "Computer choose: " + computer
    info2 = "You choose: " + str(e.get()).lower()
    if str(e.get()).lower() == computer:
        text3 = Label(win, text="ITS A TIE!!", font=('Arial', 18))
        text3.pack()

    elif str(e.get()).lower() == "rock":
        if computer == "paper":
            text4 = Label(win, text="The computer wins!, you lose", font=('Arial', 18))
            text4.pack()

        if computer == "scissors":
            text5 = Label(win, text="You win!, the computer lose", font=('Arial', 18))
            text5.pack()

    elif str(e.get()).lower() == "scissors":
        if computer == "rock":
            text6 = Label(win, text="The computer wins!, you lose", font=('Arial', 18))
            text6.pack()

        if computer == "paper":
            text7 = Label(win, text="You win!, the computer lose", font=('Arial', 18))
            text7.pack()

    elif str(e.get()).lower() == "paper":
        if computer == "scissors":
            text8 = Label(win, text="The computer wins!, you lose", font=('Arial', 18))
            text8.pack()

        if computer == "rock":
            text9 = Label(win, text="You win!, the computer lose", font=('Arial', 18))
            text9.pack()

    elif str(e.get()).lower() is not options:
        text10 = Label(win, text="There is no such thing as " + str(e.get()).lower() + " in this game. " + "Please enter the correct word", fg="red", font=('Arial', 18))
        text10.pack()

    text1 = Label(win, text=info, font=('Arial', 18))
    text1.pack()
    text2 = Label(win, text=info2, font=('Arial', 18))
    text2.pack()





lab = Label(win, text="Rock, Paper or Scissors?", font=('Arial', 18))
lab.pack()


e = Entry(win, borderwidth=10, bg="powderblue")
e.pack()


b = Button(win, text="Submit", font=('Arial', 18), bg="lightgreen", command=show)
b.pack()
win.mainloop()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>python</category>
      <category>github</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
