Тёмный
No video :(

Python Game Coding: Rock, Paper, Scissors using tkinter 

TokyoEdtech
Подписаться 47 тыс.
Просмотров 7 тыс.
50% 1

Опубликовано:

 

26 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 90   
@alwinvillero4404
@alwinvillero4404 3 года назад
Am I like the only one waiting? (apart from the early access members)
@TokyoEdTech
@TokyoEdTech 3 года назад
Hang in there...still almost 7 hours to go! I've never done a scheduled premier before - hope it works as expected!
@alwinvillero4404
@alwinvillero4404 3 года назад
@@TokyoEdTech oh ok
@teacherinthailan6441
@teacherinthailan6441 3 года назад
Wow! Only three months and she can code this. I hang my head in shame! Excellent tutorial. Please pass on my appreciation to your student also. Excellent!
@TokyoEdTech
@TokyoEdTech 3 года назад
I'm pretty proud of my students! Keep in mind, she has 5 periods a week of direct instruction (courtesy of yours truly). You can do it! PS. Are you actually a teacher in Thailand?
@ethansofiadada
@ethansofiadada 3 года назад
Early member access - woot woot! That's one super-talented student you have there! I loved how you shortened the code from nearly 600 lines to 125 with the same result, but hers is amazing for someone who's only coded for 3.5 months - wow! I don't usually care much for ASCII art, but it worked really well in tkinter, and that's something I haven't seen yet, so right on! Please give your student thanks from this delighted member! P. S. I just have to reiterate how much I appreciate how clear and consistent your naming conventions are. This is one of my pet peeves on other channels, and is one of the big reasons I became such a big fan of yours. And that consistency shows through your students like her, obviously. Thanks again!
@TokyoEdTech
@TokyoEdTech 3 года назад
Thanks - I'll pass that on! I'm very happy with her progress (and that of my other students as well). For this particular assignment, the students were able to make any GUI program they wanted - the results have been excellent - I'm a lucky teacher! A thousand times this - naming, naming, naming! It is a pet peeve of mine as well. I saw this on Twitter: There are 3 hard problems in computer science: naming and off by one errors.
@ethansofiadada
@ethansofiadada 3 года назад
@@TokyoEdTech Lol. I love that! Sounds like you have a fun job! I know it's not as simple as "fun", but you know what I mean. It's nice to have a job where you can continually measure progress and see your teachings come to life.
@TokyoEdTech
@TokyoEdTech 3 года назад
It is definitely fun on most days. I'm quite lucky to work where I do!
@TokyoEdTech
@TokyoEdTech 3 года назад
I showed my student your comment and she seemed very happy to read what you wrote - thanks for helping inspire the youth!
@ethansofiadada
@ethansofiadada 3 года назад
@@TokyoEdTech Aww, yay!
@thech0sen1
@thech0sen1 3 года назад
Its the first time I am on a live :D *I hope I can be here after school*
@TokyoEdTech
@TokyoEdTech 3 года назад
Hope to see you in an hour!
@thech0sen1
@thech0sen1 3 года назад
@@TokyoEdTech I AM HEREEEEEEEEE
@Jan-bo4bf
@Jan-bo4bf 3 года назад
This is a great opportunity to play around with local networking and socket programming and make a multiplayer game, that anyone on the same connection with the right python script can play. Once you have that set up, you can even open it up globally to anyone with internet access.
@TokyoEdTech
@TokyoEdTech 3 года назад
That would be pretty cool - I haven't done much networking/socket programming (except in C). Will look into for the future!
@RANT_PROS
@RANT_PROS 3 года назад
Hi sir your games and procedure of explanation is very good I loved each and every video of yours but I have an issue in images can you please help me out with it
@alwinvillero4404
@alwinvillero4404 3 года назад
finally someone else :D
@TokyoEdTech
@TokyoEdTech 3 года назад
You'll have to share your code and explain what the problem is.
@RANT_PROS
@RANT_PROS 3 года назад
@@TokyoEdTech sir in which way should I send the code
@TokyoEdTech
@TokyoEdTech 3 года назад
@@RANT_PROS To learn how, please watch this video and then get back to me: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-L6AwVuu6O3Y.html Keep on codin’!
@RANT_PROS
@RANT_PROS 3 года назад
@@TokyoEdTech Ok sir
@codingmadeeasy3126
@codingmadeeasy3126 3 года назад
An awesome GUI there. Your student is pretty talented definitely deserves a lot of praise Edit :- instead of using inteagers and designating 1 to rock and so on you can make a list of rock paper and scissors and use random.choice(put list name here). I think will code a be a bit more neat
@TokyoEdTech
@TokyoEdTech 3 года назад
Yes, she is doing a great job! We haven't learned about lists yet in my class (it's our next unit), so that is why I used if statements instead.
@codingmadeeasy3126
@codingmadeeasy3126 3 года назад
@@TokyoEdTech ohh ok
@TokyoEdTech
@TokyoEdTech 3 года назад
@@codingmadeeasy3126 I try to teach things systematically - I think it is important to learn the basics first before all the conveniences of Python.
@colwarsstudiobrickfilmandm8580
@colwarsstudiobrickfilmandm8580 3 года назад
Btw you mispelled awsome..... you could try auto correct
@codingmadeeasy3126
@codingmadeeasy3126 3 года назад
@@colwarsstudiobrickfilmandm8580 oops thanks for pointing it out
@cemyesilyurt3033
@cemyesilyurt3033 3 года назад
Sir your videos are really helpfull, thanks
@TokyoEdTech
@TokyoEdTech 3 года назад
Glad to hear that!
@creativeshooter428
@creativeshooter428 3 года назад
Was waiting for a tkinter video thanks for this keep up the good work
@TokyoEdTech
@TokyoEdTech 3 года назад
More to come!
@creativeshooter428
@creativeshooter428 3 года назад
@@TokyoEdTech 👍👍👍🤝😄😁
@colwarsstudiobrickfilmandm8580
@colwarsstudiobrickfilmandm8580 3 года назад
He did another one a few months back (i think)
@SkyFly19853
@SkyFly19853 3 года назад
That game... Good for learning about algorithm and random function...
@TokyoEdTech
@TokyoEdTech 3 года назад
Yep!
@SkyFly19853
@SkyFly19853 3 года назад
@@TokyoEdTech Yes, indeed!
@bereketseyum1246
@bereketseyum1246 3 года назад
I wasnt live because of school but nice tutorial 👍👍👍
@TokyoEdTech
@TokyoEdTech 3 года назад
Next time!
@bereketseyum1246
@bereketseyum1246 3 года назад
Yap
@colwarsstudiobrickfilmandm8580
@colwarsstudiobrickfilmandm8580 3 года назад
What time was he live?
@spaceyygames
@spaceyygames 3 года назад
And congrats for 31k
@TokyoEdTech
@TokyoEdTech 3 года назад
Cheers!
@colwarsstudiobrickfilmandm8580
@colwarsstudiobrickfilmandm8580 3 года назад
Idea: make an algrithm that can like a youtube video: another idea: make a game engine with a scene view and a code section and a sprite editor!: another idea! Make a game where you can play as a cat and chase a bird (the cat is the mouse) you chase it
@TokyoEdTech
@TokyoEdTech 3 года назад
These are all great ideas - maybe someday! lol I did make my own (very simple) game framework called SPGL (Simple Python Game Library). github.com/wynand1004/SPGL
@colwarsstudiobrickfilmandm8580
@colwarsstudiobrickfilmandm8580 3 года назад
@@TokyoEdTech can you show it off?
@parthgupta4850
@parthgupta4850 3 года назад
GreaAt!
@TokyoEdTech
@TokyoEdTech 3 года назад
Thanks!
@manishpatla
@manishpatla 3 года назад
Thank you ❤️
@TokyoEdTech
@TokyoEdTech 3 года назад
You’re welcome, Manish. 😊
@ashwins4776
@ashwins4776 3 года назад
Good
@TokyoEdTech
@TokyoEdTech 3 года назад
Thanks
@godfatheredits8418
@godfatheredits8418 3 года назад
Nice videos , I really appreciate...
@TokyoEdTech
@TokyoEdTech 3 года назад
Glad you like them!
@godfatheredits8418
@godfatheredits8418 3 года назад
Yaa , I also have a channel and I hope it will grow faster...
@TokyoEdTech
@TokyoEdTech 3 года назад
Good luck! It has taken me 5 years to get to where I am at...don't give up!
@godfatheredits8418
@godfatheredits8418 3 года назад
Yes , I never give up and I post everyday videos of programming and I will learn from your channel
@spaceyygames
@spaceyygames 3 года назад
I want to make a voice call app in python. Can you make a tutorial on that?
@TokyoEdTech
@TokyoEdTech 3 года назад
Sorry - no idea how to go about doing that one. Way beyond my ability...for now!
@ninadingale8509
@ninadingale8509 2 года назад
Is it using Object Oriented Approach?
@TokyoEdTech
@TokyoEdTech 2 года назад
Nope. Just simple code
@naokimc
@naokimc 3 года назад
Can you please make a tutorial on how to make a GUI random number generator. I tried making it, but now I'm stuck.
@TokyoEdTech
@TokyoEdTech 3 года назад
Which part are you stuck with? What have you tried so far?
@naokimc
@naokimc 3 года назад
I am always getting the same number once I click the button, can you pls tell me how to avoid that? In my Tkinter window, I have 2 labels that say about the app a button to generate, and the 3rd label just below the button to show the number
@StatusFreaks
@StatusFreaks 3 года назад
Why didn't you add score for this game??
@TokyoEdTech
@TokyoEdTech 3 года назад
No particular reason. It's pretty trivial to add if you get all the other stuff working.
@StatusFreaks
@StatusFreaks 3 года назад
@@TokyoEdTech Ya sir, I got it Now
@colwarsstudiobrickfilmandm8580
@colwarsstudiobrickfilmandm8580 3 года назад
Can you show off your engine?
@TokyoEdTech
@TokyoEdTech 3 года назад
Maybe someday - I'm not sure anyone would be all that interested. Check out my Missile Command tutorial - I use it for that game...I think!
@naokimc
@naokimc 3 года назад
I want ascii art pls
@TokyoEdTech
@TokyoEdTech 3 года назад
The very first link in the description is "Download this code here". Try that.
@alwinvillero4404
@alwinvillero4404 3 года назад
I lost the live chat :(
@TokyoEdTech
@TokyoEdTech 3 года назад
Yeah - it shut off automatically when the video was done.
@alwinvillero4404
@alwinvillero4404 3 года назад
@@TokyoEdTech oh
Далее
Python tkinter Tutorial: Simple To Do List App
35:23
Просмотров 35 тыс.
Learning pygame by creating Snake [python tutorial]
2:05:00
O'ZBEK VA TOJIKLAR ROSSIYADA TERAKT UYUSHTIRISHDI!
08:41
Oh No! My Doll Fell In The Dirt🤧💩
00:17
Просмотров 2 млн
Using tkinter with classes
28:23
Просмотров 61 тыс.
Simple Hangman Game with ASCII Graphics
28:55
Просмотров 5 тыс.
Level Up: How to Add Levels to Your Games
17:38
Просмотров 14 тыс.
Tmux has forever changed the way I write code.
13:30
Просмотров 969 тыс.
The Art of Code - Dylan Beattie
1:00:49
Просмотров 4,7 млн
Pygame in 90 Minutes - For Beginners
1:35:22
Просмотров 1 млн
Harder Drive: Hard drives we didn't want or need
36:47
The Surgery That Proved There Is No Free Will
29:43
Просмотров 228 тыс.
O'ZBEK VA TOJIKLAR ROSSIYADA TERAKT UYUSHTIRISHDI!
08:41