the prototype pattern [knight life speed attack power attack range weaponshort sword even though we do not have any draw logic or interaction codeit is quite easy to generate new knight with some default values for the rest of this we will be concerning ourselves with this generation code and will see what it teaches us about creating multiple objects that are almost exactly alike note if you are interested in learning more about game programmingi challenge you to look at the pygame packagesee the "exercisessection of this for more information if you have never played or seen an rts beforeit is important to know that big part of the fun in these games comes from the many different units you can generate each unit has its own strengths and weaknessesand how you leverage these unique characteristics shapes the strategy you end up adopting the better you are at understanding trade-offsthe better you become at developing effective strategies the next step is to add one more character to the cast that can be generated by barracks for examplei am going to add an archer classbut feel free to add some of your own unit typesgiving them unique strengths and weaknesses you get to create your dream cast of units while you are at itfeel free to think of other attributes your units will need to add depth to the game when you are done with this go through the code you have written and add these ideas not only will it make your rts more interestingbut it will also help you better grasp the arguments presented throughout the with the addition of the archer classour rts_simple py now looks like thisrts_simple py class knight(object)def __init__selflifespeed