💻Here is my github repo: github.com/carmensantos/rock-paper-scissors 💙Checkout the Free VS Code extension EchoAPI: www.echoapi.com/
@whipshaw16 күн бұрын
this video feels like a breeze into my day of looking the task I have to to during the week for work and crying
@CSJackie16 күн бұрын
Lol haha good luck, friend! :) and thank you!
@mbkongalor11 күн бұрын
I really like these kinds of coding videos and hearing you talk out the issue and how you are going to approach it.
@davidalex68416 күн бұрын
Besides free code camp and programming hub . You are the best programmer yet
@CSJackie16 күн бұрын
haha thank you, what an honor ;)
@davidalex68416 күн бұрын
@CSJackie You Programming so much that even your reply is initialized with a double quotation mark, which is stored with a semi column and a round bracket stored as a variable.
@CSJackie16 күн бұрын
@@davidalex684 🤣 keep it going!
@user-lilithc15 күн бұрын
Just downloaded it, a very nice extension. Thanks a lot!
@CSJackie15 күн бұрын
It’s awesome, right? 🥳
@xhenryx1415 күн бұрын
I love that you are using Monokai theme ❤
@CSJackie15 күн бұрын
It’s sooo nice!
@Jibril_Abdulkadir16 күн бұрын
Great video I have never really seen people code rock paper scissors as a game
@CSJackie16 күн бұрын
haha thank you :) it's a fun one!
@thejogman16 күн бұрын
Can't understate the extent to which I can relate to the struggle of constantly slipping into Java syntax. I originally started with Lua and have dabbled in a variety of different languages over the years, but ever since I got into Java, it's the only one that truly feels like home to me, lol.
@CSJackie16 күн бұрын
Exactly! Twins lol! It's scary how quickly we forget nuances of each language when we stop using them frequently
@thejogman15 күн бұрын
@@CSJackie Yea, I used to love working in Lua (quite fitting that my primary framework was LÖVE2D for the longest time) and I still consider it to be one of my favorite languages, but these days whenever I try to touch it I immediately feel like I would rather be using Java. Strict typing is the main thing I miss when I use Lua, and the few times I've dabbled with C++ and C# I have missed the way enums work in Java.
@magg.wjiang913615 күн бұрын
Wow! The tool looks great! Let me download it and see if it works for my developing projects.
@CSJackie15 күн бұрын
Have fun! :)
@GeertEvens12 күн бұрын
Yes, I enjoyed the video 🙂. I like your coding videos a lot. 🙏👍
@FC-BS15 күн бұрын
Never knew you could make this game in a programming language
@CSJackie14 күн бұрын
Haha yes, it’s a strange one but I guess we can create any game with code ☺️
@wasab1tch8 күн бұрын
any game you could play on any computer was made using a programming language lol. You could port these to any language as long as you know the algorithm of it.
@kms581815 күн бұрын
I'm a fan of yours, but I have a suggestion. Why not try using a microphone for your recordings? It will improve the video quality a lot.
@dirtydevotee11 күн бұрын
Very nice. However... - "adjust_score" can be simplified greatly. Create a temp variable called "temp_winner = human" so that you assume the winner is the human. Set "temp_winner" to "tie" if "choice_computer == choice_player". Then use a "match choice_player:" to award the game to the computer if "case 'ROCK': if choice_computer == 'paper': temp_winner = computer". You'll only need three of those. This would clean that whole section up tremendously. Return "temp_winner". - You should separate the "evaluate_choices" into their own function and leave "adjust_score" to handle just the changing of numbers and the "print("The score is now...")". - You don't need a "max_round", you need a "max_score". Otherwise, the ties require lots of extra coding. But if "declare_winner()" is triggered when "score_user" or "score_computer" has a value of "3", that is significantly less code. - That while loop in "play()" makes me super nervous. You should have a flag you can throw on error. So it's "while flag_isRunning == True:" Then you create an error handler that switches "flag_isRunning" to "False" whenever an error is thrown. Also, an exit game button can throw the same.
@rfyorfyo502211 күн бұрын
i also writed a code for this game but its not fair cause i inspired from you, it took me 1 hour, i think it would have take longer, next time i watch other code at the end
@JessAnalysisTV16 күн бұрын
You're a gorgeous programmer 🥰
@MohammedCyber-r1d16 күн бұрын
Woow This is amazing scary I need to learn how to code as self taught I'm thinking what am i getting my self into But i' m not gonna give up no matter how many months or years it takes or centery i'm gonna make it And Thanks for yours inspiration
Hi Carmen!!. Im doing by first steps in Python.. even tough your videos are way up over my head, I found them pretty interesting and educational. What was the error you get on your first try??.. Stmg about "import" you said?. (English isn't my 1st language)
@CSJackie15 күн бұрын
Thank you so much, it will definitely get easier with practice and time, and you’ll be able to do them in the future! ☺️♥️ It was an Import error, we have to import the module into the code ☺️
@alexsnowblind14 күн бұрын
It's nice the idea to build a lot of classes
@CSJackie14 күн бұрын
👌♥️
@AnimeLover-su7jh12 күн бұрын
If I am not mistaken, calling random like this will produce the same result, every time you start the game, usually people seed the random with the current time.
@benskev16 күн бұрын
DRINKING GAME: Eveery time csjackie writes java code, drink.
@CSJackie16 күн бұрын
Hold my beer 🍺
@valdigleis16 күн бұрын
An angel!!!!
@CSJackie16 күн бұрын
hahaha thank you!!
@claudiafischering90115 күн бұрын
I think a single class for computer and player is better. Both have same properties and methods. So the choose method have a single if statement to switch the input method of computer or player. Your player class has no score declared. But for a first try ;-) not bad. I would avoid the player write the whole word. Replace with numbers is better, otherwise why you chose enum that represent numbers. Userinput is much easier with numbers as with string!
@AlbertoNao13 күн бұрын
2:28 to switch java and python languages is my daily problem: this or self ?
@CSJackie12 күн бұрын
hahah
@mecrayavcin15 күн бұрын
Hi from Turkey. Nice video. Could you please create contents about Django? Thanks very much
@DanFrederiksen16 күн бұрын
you could have tree buttons to push instead of command prompt interface. I assume python has easy gui? also you could try having AI code the same and see how similar they are :)
@DAVIDDANIELGUTIERREZCALDERON16 күн бұрын
What is the keyboard you are using ? it sounds beautiful ! Excellent video !
@CSJackie15 күн бұрын
Thank you so much! It's the Keychron Q2 Pro
@tom-k9u5j16 күн бұрын
Awesome video✅💯 keep up the good work , your VSCode looks awesome btw, can you tell how to make it looks like that
@CSJackie16 күн бұрын
thank you so much!
@tom-k9u5j15 күн бұрын
@@CSJackie thanks ,and can you tell the theme ehich used to highlighting
@wrestlingshorts10 күн бұрын
have you switched from java to python? or opposite
@CSJackie9 күн бұрын
Python (for 0.5 years) -> Java (3 years now) and now trying to solve these in Python haha
@wrestlingshorts9 күн бұрын
@@CSJackie great 👍
@Kushal-v8b16 күн бұрын
Nice 👍 Hope you are doing well 🙏
@CSJackie16 күн бұрын
Thank you ☺️
@idegennyelvitanfolyamok13 күн бұрын
So, you and I. Now and here.. (0:01-től)
@benskev16 күн бұрын
why does your jacket keep falling off? is it a github feature?
@CSJackie16 күн бұрын
Yes, you should submit a bug report 😭
@AnuragMishra-ws4zc13 күн бұрын
Remove shoes near the books; respect books.
@CSJackie12 күн бұрын
It’s a prize 😊
@mrx655515 күн бұрын
what keyboard is that? sounds nice!
@CSJackie15 күн бұрын
It's the keychron Q2 Pro :) my favorite mechanical keyboard!
@gh-sb1dy9 күн бұрын
is there a point to even learning code anymore since ai can do it for us?
@TheedxA216 күн бұрын
Make lives (or videos) resolving challenges of Advent of Code 2024
@CSJackie16 күн бұрын
I am actually deciding whether I have time to do this right now :) it's a great idea!
@TheedxA216 күн бұрын
@@CSJackie Faz sentido, tempo é dinheiro.
@shibdassarkar935716 күн бұрын
Mam do you earn more than 120k pound sterlings a year in uk now? Please reply in yes or no. Thanks a lot.
@browsefly14 күн бұрын
Good luck with that 😂
@karljohnson112111 күн бұрын
Comment va Yuval Harari?
@pedroloureiro22326 күн бұрын
Are you portuguese by any chance?
@projectbuubl535216 күн бұрын
Well done ;) Have you ever thought of using an AI-assistent as a support for your project? You will be able to develop more complex projects in less time :)
@CSJackie16 күн бұрын
thank you :) yes, it's helpful! Maybe I can incorporate AI in future coding videos
@miroklose562015 күн бұрын
wow, must have atry
@ImPDK16 күн бұрын
Many great programmers dislike OOP btw. It's common for people to struggle to think in OOP :)
@CSJackie16 күн бұрын
I am one of them 😂👌
@jordanhenshaw16 күн бұрын
Delete the if logic and replace with dictionary? def is_user_winner(self): losers = { “rock”: “scissors”, “paper”: “rock”, “scissors”: “paper” } return self.computer == losers[self.user]
@CSJackie15 күн бұрын
Hahah this is neat if it works, I'll try it! I'm not very familiar with Python anymore
@jordanhenshaw15 күн бұрын
@@CSJackie I built my own version of this for fun just now, pasted this straight in from YT and it worked (.replace(curly_quotes, straight_quotes)), and I typed it on my phone! Took me 5 hours to write the rest of the game though because ADHD.