I am currently trying to get better at coding. I started learning when I was younger, took a huge break, and am starting once again. I knew that card games were pretty common for beginner projects, so I made one, that being GO Fish. I felt like it would challenge me as a beginner and it for sure did.
My code is similar to the GO Fish game just that the it uses only 2 players, you and a bot. It has several functions resembling actions you would normally do. Like asking for a card, drawing a card, setting a book, even just picking a card. The entirety of the process takes form in a while loop that will keep going until the number of cards in the deck is 0/empty.
https://github.com/Erebus-minus/First-Python-Project.git
Hopefully, some of y'all can check my code out and give me pointers on what I did right or what I can change.
以上是First ever beginner Python Project的详细内容。更多信息请关注PHP中文网其他相关文章!