Uno!
After a lot of work, some messed up graphics, and an infinite deck, I have made...
Uno in python!
For everyone who does not know how to play, i just added some rules! They will display quite quickly, but dont worry, it will wait for you to hit enter to clear. This took a lot of time to make, so hopefully you enjoy!
Also to anyone who reads this, you can say the position of the card instead of th card name!
Like in Red 6, Red 7, Blue 8 : Red 6 would be 1, Red 7 would be two and so on
For everyone who wants to, you can fork this project, copy the code or whatever, but please dont say that you made it!
EDIT:
The Uno Stonks are out the roof, but continue to give positive feedback, i am still fixing things in the game
Everyone is absolutely loving this, so if you have any suggestions, even if its something small, comment it down below!
Fixed Things:
Lowercase letters are now working! You can say red 6 instead of Red 6!
The Game is now infinite! When losing or winning, why not play again?
All of you wanted it, so now
The Wild Card is working!
Not really a bug, but some of you are like this:
So it no longer gives an error if you smash your keyboard while picking a card
Win screen now works!
The win screen used to just not show up, but now it should for everyone
Wild card doesn't work
@AustinZhang1 Wild Card is VERY buggy, i will try to fix it soon, very sorry
@Muffinlavania Umm the error for me is that when i say the name of the card it just bugs out!
@AustinZhang1 now the wild card is working!
@AustinZhang1 ye I'll try to help muffin on that
@HahaYes Can you help me pls pls meme
@Muffinlavania yes not now tho
@HahaYes so hahayes, you can? HAHANO YOU WILL NOT BE ALLOWED TO lol
@AustinZhang1 Wild Card should now work, and @FluidCycling you too!
@Muffinlavania Ok bro
I love it!!
uno this game is really fun :)
@AustinZhang1 yea ill try to fix that..
i like the reverse card
Is it possible to edit the code so that you can stack +(2, 4) cards on top of each other? (Ex. Player puts a +2, Computer stacks a +4, and then player stacks another +4, resulting in the Computer picking 10 cards)?
@RichaL1 I have actually never seen uno like that, but i have heard of it. I dont think i will add it, but maybe i will just make another version of this and include that in there
@Muffinlavania Oh, that's fine. That's just the way I'm used to playing UNO. I've been playing with that rule for as long as I remember.
@Muffinlavania Oh, that's fine. That's just the way I'm used to playing UNO. I've been playing with that rule for as long as I remember. Thank you for responding!
Bug:
I was about to win a game against the AI when the stupid game crashed because I accidentally went out of range, please fix this immediately with a try:
statement
@3941driB lollllll that sucks, just try not to say the wrong thing, doing try and except and stuff like that would be very annoying, because the functions are the ones that are really doing the stuff
@Muffinlavania you have 888 cycles 🤣
@Muffinlavania: um to elaborate you said you fixed going out of range but you must have done if i <= len(cards) instead of i < len(cards)
This project is so cool!
Really fun
@RyanChoe1 Thanks!
Cool
@RohilPatel That's what I said! D:
is it really? @NoNameByProgram
@RohilPatel lol yea
@RohilPatel the perfect squeal doesn't exis-
Squeeeeeeeeeeaaaak @HongyiZhou
U mean squeak lamo
@RohilPatel Ahem
No squeaks allowed! You must now kneel before Mr.Squeak while he give you your sentence
Squeak squeak squeak squeak, squeaksqueak squeaksqueak squeak, squeak squeak squeak.Squeak squeak squeakkkkkkkkkk squeak, squeak squeak squeak squeaksqueak squeak!
How do I play wild card? Are they different? They don’t work for me.
@XanderOldham Wild Cards should be able to play on any card, but for come reason everyone says that they dont work, so can you send me a screenshot of what is happening
@Muffinlavania sorry for the inconvenience, I think I posted this comment at a point where they didn’t work, or I may have not updated that tab and the game was still in a former version. Either way, it’s working now! Thanks for the concern, it’s great to know the developer cares!
@XanderOldham thanks! ANd the wild cards do work? Thanks for letting me know, so far everyone is absolutely slamming me about the Wild Cards
@Muffinlavania i think it's good!
@python88 thanks!
This is amazing! Great work.
i didn't learn that much spanish
@firefish Yo comprendo un poco español
@Muffinlavania I gues that means I comprehend/understand an speak spanish
, like I'm just taking similarities between english here
@firefish it means i understand a bit of spanish
@Muffinlavania I know less than you then
@firefish (I mean im literally in spanish right now)
(I mean im literally in spanish right now)
I hope you mean you're in spain and not embedded inside a language
@firefish Spanish Class, im in school
@Muffinlavania How on earth did they let you, it can't be allowed
@FishingFights whoooooooops i forgot to change it back
@FishingFights there it should work
yeah it does thanks a lot
@Muffinlavania
when you throw a reversal card on time
i love this game!
amazing game!
Guys, I'm his friend and this by far is his best game ->https://audio.muffinlavania.repl.run/
@SkorpionKing (Dude with 0 cycles comments on a guys post with 1000 cycles)
GUYS IM HIS FRIEND
but yea hi jacen(exposed)
@Muffinlavania Sup Cristian
@muffinlavania check the coding bois
Hey is this code on GitHub? Pls share the link!!
@SheldonC no it isnt actually... never thought of putting it on there, i just made this on my free time
@Muffinlavania
Do create a GitHub repo for this....I can't wait to star this!!
@SheldonC i will try to create one, thanks for the advice!
I cant even place a card lol, but i like this game
@YuvanVighnesh what do you mean? You mean its bugged or you are really unlucky
Like when I place a card that I already have, it says that I cant place it, I can only play"n"@Muffinlavania
@YuvanVighnesh umm well you cannot place a card if it is not the same color or number as the card in play, maybe that is it?
No, I placed the exact same card that I [email protected]
I'm stealing that print function
it's too powerful
@jesseturdface lol you mean the slow print thing? Go right ahead, also if you dont understand it: https://repl.it/talk/learn/The-Slow-Print/44741
@Muffinlavania I semi understand how it works, but I do know how to use it
@jesseturdface ok cool! quick rundown of itsys.stdout.write
writes the letter that you are on, without indentingsys.stdout.flush()
makes it so that the whole things works(i dont know it does it)time.sleep(whatever)
waits that tiny little delay between each character
And it is looped with a for letter in phrase
at the top!
@Muffinlavania Nice, I just think it looks dope
This was surprisingly fun
@bgrubert thanks!
hi!.. so I tried your game, and its good and all but its not letting me place the green +2 card soooo.... yeah just try to fix that then you will be. chilling (I won't give you advice because i suck at python coding) Thanks!
sincerely,
a kid that's bad at coding
@aaritsri lol and i think if you are doing the +2 cards, the '+' sign gets all weird and such, i would just use the number for the card, like if this was your deckRed 6, Green +2 Card, Blue 7
You would say 1 for Red 6, 2 for Green +2 Card and so on
I love the reverse card joke…
I placed a blue 5, and then the computer placed a blue 5 twice!
@RahulChoubey1 you mean the computer has two turns at once?
@Muffinlavania No, they dropped one and later another(Uno should only have two of that card)
@RahulChoubey1 Yea.. i have like 4 wild cards in the deck too... i dont know the deck is huge
It's slow in design. Sooooo slow…
Why doesn't "nope" work?
@RahulChoubey1 because thats not "no"... its like me adding "sure" for yes, but ill add it anyway
The Muffin Boi is alive once again!
@JosephSanthosh Oh...
You made a Typo.
It was The Muffin Boi
Ask @Muffinlavania for evidence.
LoL!
Why don't you ask him? :) @PattanAhmed
@JosephSanthosh Ok
Hello @Muffinlavania...
Should we call you The Muffin Man or The Muffin Boi?
@PattanAhmed which do you prefer? I will change my name accordingly.
@Muffinlavania Ah...
I prefer The Muffin Boi only.
So, just keep it.
@Muffinlavania Ask this guy too.?
Ok I will change it accordingly. @PattanAhmed
@JosephSanthosh Ok Good!