{"push_id":1185782310,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"d0aec718e3fac467d341f00c384c763e1a168f5a","before":"8ee8761f59e0dd4af5127eac0953f97e46d52e46","commits":[{"sha":"d0aec718e3fac467d341f00c384c763e1a168f5a","author":{"name":"MErmanProject","email":"fc560fd599be2dc204f922057cfb67d5074ca1ea@yahoo.com"},"message":"CW_PatternCraft-State in C#\n\nDescription:\r\n\r\nThe State Design Pattern can be used, for example, to manage the state of a tank in the StarCraft game.\r\n\r\nThe pattern consists in isolating the state logic in different classes rather than having multiple ifs to determine what should happen.\r\n\r\nYour Task\r\n\r\nComplete the code so that when a Tank goes into SiegeMode it cannot move and its damage goes to 20. When it goes to TankMode it should be able to move and the damage should be set to 5.\r\n\r\nYou have 3 classes:\r\n\r\nTank: has a state, canMove and damage properties\r\nSiegeState and TankState: has canMove and damage properties\r\nNote: The tank initial state should be TankState.\r\n\r\nResouces\r\n\r\nPatternCraft > State\r\nSourceMaking > State\r\nWikipedia > State\r\nPatternCraft series\r\n\r\nState Pattern\r\nStrategy Pattern\r\nVisitor Pattern\r\nDecorator Pattern\r\nAdapter Pattern\r\nCommand Pattern\r\nThe original PatternCraft series (by John Lindquist) is a collection of Youtube videos that explains some of the design patterns and how they a","distinct":true,"url":"https://api.github.com/repos/MErmanProject/Coding-Skill-Projects/commits/d0aec718e3fac467d341f00c384c763e1a168f5a"}]}
{"actor":{"display_login":"MErmanProject"}}