Добавить
Уведомления

Refactoring a Rock Paper Scissors Lizard Spock Game // Part 2

? Get my FREE 7-step guide to help you consistently design great software: https://arjancodes.com/designguide. This is the second and final part of refactoring a Rock-Paper-Scissors-Lizard-Spock game. In this part I refactor the game logic and improve the way that the rules are represented in the code. The code I worked on in this episode is available here: https://github.com/arjancodes/2022-coderoast-rpsls. ? Courses: The Software Designer Mindset: https://www.arjancodes.com/mindset The Software Designer Mindset Team Packages: https://www.arjancodes.com/sas The Software Architect Mindset: Pre-register now! https://www.arjancodes.com/architect Next Level Python: Become a Python Expert: https://www.arjancodes.com/next-level-python The 30-Day Design Challenge: https://www.arjancodes.com/30ddc ? GEAR & RECOMMENDED BOOKS: https://kit.co/arjancodes. ? If you enjoyed this content, give this video a like. If you want to watch more of my upcoming videos, consider subscribing to my channel! ? Discord: https://discord.arjancodes.com ?Twitter: https://twitter.com/arjancodes ?LinkedIn: https://www.linkedin.com/company/arjancodes ?Facebook: https://www.facebook.com/arjancodes ? Code reviewers: - Yoriz - Ryan Laursen - Sybren A. Stüvel - Dale Hagglund ? Video edited by Mark Bacskai: https://www.instagram.com/bacskaimark ? Chapters: 0:00 Intro 1:33 What we've done so far 2:05 Printing the score board 3:14 Improving the Rules class 7:56 Updating the Game class with the new rules mechanism 11:12 Cleaning up the Game initializer 13:02 Turning Game into a dataclass 14:10 Remove coupling between Scoreboard and Game 19:08 Improving the Enum representation 23:52 Final thoughts #arjancodes #softwaredesign #python DISCLAIMER - The links in this description might be affiliate links. If you purchase a product or service through one of those links, I may receive a small commission. There is no additional charge to you. Thanks for supporting my channel so I can continue to provide you with free content each week!

Иконка канала Игры для Всех
40 подписчиков
12+
16 просмотров
2 года назад
12+
16 просмотров
2 года назад

? Get my FREE 7-step guide to help you consistently design great software: https://arjancodes.com/designguide. This is the second and final part of refactoring a Rock-Paper-Scissors-Lizard-Spock game. In this part I refactor the game logic and improve the way that the rules are represented in the code. The code I worked on in this episode is available here: https://github.com/arjancodes/2022-coderoast-rpsls. ? Courses: The Software Designer Mindset: https://www.arjancodes.com/mindset The Software Designer Mindset Team Packages: https://www.arjancodes.com/sas The Software Architect Mindset: Pre-register now! https://www.arjancodes.com/architect Next Level Python: Become a Python Expert: https://www.arjancodes.com/next-level-python The 30-Day Design Challenge: https://www.arjancodes.com/30ddc ? GEAR & RECOMMENDED BOOKS: https://kit.co/arjancodes. ? If you enjoyed this content, give this video a like. If you want to watch more of my upcoming videos, consider subscribing to my channel! ? Discord: https://discord.arjancodes.com ?Twitter: https://twitter.com/arjancodes ?LinkedIn: https://www.linkedin.com/company/arjancodes ?Facebook: https://www.facebook.com/arjancodes ? Code reviewers: - Yoriz - Ryan Laursen - Sybren A. Stüvel - Dale Hagglund ? Video edited by Mark Bacskai: https://www.instagram.com/bacskaimark ? Chapters: 0:00 Intro 1:33 What we've done so far 2:05 Printing the score board 3:14 Improving the Rules class 7:56 Updating the Game class with the new rules mechanism 11:12 Cleaning up the Game initializer 13:02 Turning Game into a dataclass 14:10 Remove coupling between Scoreboard and Game 19:08 Improving the Enum representation 23:52 Final thoughts #arjancodes #softwaredesign #python DISCLAIMER - The links in this description might be affiliate links. If you purchase a product or service through one of those links, I may receive a small commission. There is no additional charge to you. Thanks for supporting my channel so I can continue to provide you with free content each week!

, чтобы оставлять комментарии