How to use killedBy method in stryker-parent

Best JavaScript code snippet using stryker-parent

data.js

Source:data.js Github

copy

Full Screen

1const data = [2 {3 "characterName": "Aeron Greyjoy",4 "houseName": "Greyjoy",5 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BNzI5MDg0ZDAtN2Y2ZC00MzU1LTgyYjQtNTBjYjEzODczZDVhXkEyXkFqcGdeQXVyNTg0Nzg4NTE@._V1._SX100_SY140_.jpg",6 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BNzI5MDg0ZDAtN2Y2ZC00MzU1LTgyYjQtNTBjYjEzODczZDVhXkEyXkFqcGdeQXVyNTg0Nzg4NTE@._V1_.jpg",7 "characterLink": "/character/ch0540081/",8 "actorName": "Michael Feast",9 "actorLink": "/name/nm0269923/",10 "siblings": ["Balon Greyjoy", "Euron Greyjoy"],11 "nickname": "Damphair"12 },13 {14 "characterName": "Aerys II Targaryen",15 "houseName": "Targaryen",16 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMWQzOWViN2ItNDZhOS00MmZlLTkxZTYtZDg5NGUwMGRmYWZjL2ltYWdlL2ltYWdlXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",17 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMWQzOWViN2ItNDZhOS00MmZlLTkxZTYtZDg5NGUwMGRmYWZjL2ltYWdlL2ltYWdlXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",18 "characterLink": "/character/ch0541362/",19 "actorName": "David Rintoul",20 "actorLink": "/name/nm0727778/",21 "nickname": "The Mad King",22 "royal": true,23 "killed": ["Brandon Stark", "Rickard Stark"],24 "servedBy": ["Arthur Dayne", "Jaime Lannister"],25 "parentOf": [26 "Daenerys Targaryen",27 "Rhaegar Targaryen",28 "Viserys Targaryen"29 ],30 "siblings": ["Rhaella Targaryen"],31 "marriedEngaged": ["Rhaella Targaryen"],32 "killedBy": ["Jaime Lannister"]33 },34 {35 "characterName": "Alton Lannister",36 "houseName": "Lannister",37 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTU0NTU1NTAzOF5BMl5BanBnXkFtZTcwNzA2NDk4OA@@._V1._SX100_SY140_.jpg",38 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTU0NTU1NTAzOF5BMl5BanBnXkFtZTcwNzA2NDk4OA@@._V1_.jpg",39 "characterLink": "/character/ch0305012/",40 "actorName": "Karl Davies",41 "actorLink": "/name/nm0203801/",42 "killedBy": ["Jaime Lannister"]43 },44 {45 "characterName": "Arya Stark",46 "houseName": "Stark",47 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTk5MTYwNDc0OF5BMl5BanBnXkFtZTcwOTg2NDg1Nw@@._V1._SX100_SY140_.jpg",48 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTk5MTYwNDc0OF5BMl5BanBnXkFtZTcwOTg2NDg1Nw@@._V1_SY1000_CR0,0,665,1000_AL_.jpg",49 "characterLink": "/character/ch0158604/",50 "actorName": "Maisie Williams",51 "actorLink": "/name/nm3586035/",52 "siblings": ["Robb Stark", "Sansa Stark", "Bran Stark", "Rickon Stark"],53 "killed": [54 "Red Keep Stableboy",55 "Frey Soldier #1",56 "Polliver",57 "Rorge",58 "Ghita",59 "Meryn Trant",60 "The Waif",61 "Black Walder Rivers",62 "Lothar Frey",63 "Walder Frey",64 "Petyr Baelish",65 "The Night King",66 "White Walker",67 "Viserion"68 ],69 "parents": ["Eddard Stark", "Catelyn Stark"],70 "guardedBy": ["Nymeria"]71 },72 {73 "characterName": "Balon Greyjoy",74 "houseName": "Greyjoy",75 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTUxNjkwODczN15BMl5BanBnXkFtZTcwODMwNTgzNw@@._V1._SX100_SY140_.jpg",76 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTUxNjkwODczN15BMl5BanBnXkFtZTcwODMwNTgzNw@@._V1_SY1000_CR0,0,637,1000_AL_.jpg",77 "characterLink": "/character/ch0292152/",78 "actorName": "Patrick Malahide",79 "actorLink": "/name/nm0538869/",80 "killedBy": ["Euron Greyjoy"],81 "parentOf": ["Yara Greyjoy", "Theon Greyjoy"],82 "siblings": ["Euron Greyjoy", "Aeron Greyjoy"]83 },84 {85 "characterName": "Benjen Stark",86 "houseName": "Stark",87 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMjFiY2M5MjgtZmRiMS00ZTAyLTk2Y2UtMjdjZTRkZmVlYTMyXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",88 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMjFiY2M5MjgtZmRiMS00ZTAyLTk2Y2UtMjdjZTRkZmVlYTMyXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",89 "characterLink": "/character/ch0153996/",90 "actorName": "Joseph Mawle",91 "actorLink": "/name/nm1152798/",92 "parents": ["Rickard Stark"],93 "siblings": ["Brandon Stark", "Lyanna Stark", "Eddard Stark"],94 "killedBy": ["Wights"]95 },96 {97 "characterName": "Bran Stark",98 "houseName": "Stark",99 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTA1NTg0NTI3MTBeQTJeQWpwZ15BbWU3MDEyNjg4OTQ@._V1._SX100_SY140_.jpg",100 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTA1NTg0NTI3MTBeQTJeQWpwZ15BbWU3MDEyNjg4OTQ@._V1_SX1500_CR0,0,1500,999_AL_.jpg",101 "characterLink": "/character/ch0234897/",102 "actorName": "Isaac Hempstead Wright",103 "actorLink": "/name/nm3652842/",104 "royal": true,105 "siblings": ["Robb Stark", "Sansa Stark", "Arya Stark", "Rickon Stark"],106 "parents": ["Eddard Stark", "Catelyn Stark"],107 "guardedBy": ["Summer"]108 },109 {110 "characterName": "Brynden Tully",111 "houseName": "Tully",112 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BOTg5ZDIwOWUtMjQ1OS00YjgxLThmMDgtOWUwZjQ4MzE3ZDhlXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",113 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BOTg5ZDIwOWUtMjQ1OS00YjgxLThmMDgtOWUwZjQ4MzE3ZDhlXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",114 "characterLink": "/character/ch0381563/",115 "actorName": "Clive Russell",116 "actorLink": "/name/nm0751085/",117 "nickname": "Blackfish",118 "siblings": ["Hoster Tully"]119 },120 {121 "characterName": "Catelyn Stark",122 "houseName": ["Stark", "Tully"],123 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTY2ODc4MTkxMV5BMl5BanBnXkFtZTcwNjM3MTg4OQ@@._V1._SX100_SY140_.jpg",124 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTY2ODc4MTkxMV5BMl5BanBnXkFtZTcwNjM3MTg4OQ@@._V1_SY1000_CR0,0,915,1000_AL_.jpg",125 "characterLink": "/character/ch0145135/",126 "actorName": "Michelle Fairley",127 "actorLink": "/name/nm0265610/",128 "killed": ["Joyeuse Erenford"],129 "killedBy": ["Black Walder Rivers"],130 "parents": ["Hoster Tully"],131 "parentOf": [132 "Robb Stark",133 "Sansa Stark",134 "Arya Stark",135 "Bran Stark",136 "Rickon Stark"137 ],138 "siblings": ["Lysa Arryn", "Edmure Tully"],139 "marriedEngaged": ["Eddard Stark", "Brandon Stark"]140 },141 {142 "characterName": "Cersei Lannister",143 "houseName": ["Lannister", "Baratheon"],144 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTgzNTAxNjExMl5BMl5BanBnXkFtZTcwMDEwNzI4OQ@@._V1._CR954,56,605,670._SX100_SY140_.jpg",145 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTgzNTAxNjExMl5BMl5BanBnXkFtZTcwMDEwNzI4OQ@@._V1._CR954,56,605,670_.jpg",146 "characterLink": "/character/ch0159526/",147 "actorName": "Lena Headey",148 "actorLink": "/name/nm0372176/",149 "parents": ["Tywin Lannister"],150 "parentOf": ["Joffrey Baratheon", "Myrcella Baratheon", "Tommen Baratheon"],151 "royal": true,152 "siblings": ["Jaime Lannister", "Tyrion Lannister"],153 "marriedEngaged": ["Robert Baratheon"],154 "killed": [155 "Lancel Lannister",156 "High Sparrow",157 "Loras Tyrell",158 "Mace Tyrell",159 "Margaery Tyrell",160 "Kevan Lannister",161 "Tyene Sand"162 ],163 "killedBy": ["Roof collapse"]164 },165 {166 "characterName": "Daenerys Targaryen",167 "houseName": "Targaryen",168 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMjA4MzIxMTQwMF5BMl5BanBnXkFtZTcwMzY2NDg1Nw@@._V1._SX100_SY140_.jpg",169 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMjA4MzIxMTQwMF5BMl5BanBnXkFtZTcwMzY2NDg1Nw@@._V1_SY1000_CR0,0,810,1000_AL_.jpg",170 "characterLink": "/character/ch0158597/",171 "actorName": "Emilia Clarke",172 "actorLink": "/name/nm3592338/",173 "royal": true,174 "parents": ["Aerys II Targaryen", "Rhaella Targaryen"],175 "siblings": ["Rhaegar Targaryen", "Viserys Targaryen"],176 "killed": [177 "Khal Drogo",178 "Mirri Maz Duur",179 "Doreah",180 "Xaro Xhoan Daxos",181 "Khal Rhalko",182 "Khal Brozho",183 "Khal Qorro",184 "Khal Forzho",185 "Khal Moro",186 "Dothraki Bloodrider #1",187 "Dothraki Bloodrider #2",188 "Randyll Tarly",189 "Dickon Tarly",190 "Eleanor",191 "Eleanor's Daughter",192 "Lord Varys"193 ],194 "servedBy": [195 "Barristan Selmy",196 "Daario Naharis",197 "Grey Worm",198 "Jorah Mormont",199 "Missandei",200 "Tyrion Lannister"201 ],202 "parentOf": ["Rhaego"],203 "marriedEngaged": ["Khal Drogo"],204 "guardedBy": ["Drogon", "Rhaegal", "Viserion"],205 "killedBy": ["Jon Snow"]206 },207 {208 "characterName": "Doran Martell",209 "houseName": "Martell",210 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BZWU5NzJkNWMtYTM4MS00YmE2LWExYmItNDNiOTE3YzI5YzAxXkEyXkFqcGdeQXVyNDUzOTQ5MjY@._V1._SX100_SY140_.jpg",211 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BZWU5NzJkNWMtYTM4MS00YmE2LWExYmItNDNiOTE3YzI5YzAxXkEyXkFqcGdeQXVyNDUzOTQ5MjY@._V1_SY1000_CR0,0,913,1000_AL_.jpg",212 "characterLink": "/character/ch0468006/",213 "actorName": "Alexander Siddig",214 "actorLink": "/name/nm0796502/",215 "killedBy": ["Ellaria Sand"],216 "parentOf": ["Trystane Martell"],217 "siblings": ["Elia Martell", "Oberyn Martell"]218 },219 {220 "characterName": "Eddard Stark",221 "houseName": "Stark",222 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BODcwMjg0MDQ5MF5BMl5BanBnXkFtZTcwMTk2NDk4OQ@@._V1._SX100_SY140_.jpg",223 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BODcwMjg0MDQ5MF5BMl5BanBnXkFtZTcwMTk2NDk4OQ@@._V1_SY1000_CR0,0,827,1000_AL_.jpg",224 "characterLink": "/character/ch0154681/",225 "actorName": "Sean Bean",226 "actorLink": "/name/nm0000293/",227 "nickname": "Ned",228 "guardianOf": ["Jon Snow"],229 "siblings": ["Brandon Stark", "Benjen Stark", "Lyanna Stark"],230 "parents": ["Rickard Stark"],231 "killed": ["Arthur Dayne", "Will", "Lady", "Gerold Hightower"],232 "allies": ["Howland Reed", "Robert Baratheon"],233 "guardedBy": ["Jon Arryn"],234 "killedBy": ["Ilyn Payne"],235 "marriedEngaged": ["Catelyn Stark"],236 "parentOf": [237 "Robb Stark",238 "Sansa Stark",239 "Arya Stark",240 "Bran Stark",241 "Rickon Stark"242 ]243 },244 {245 "characterName": "Edmure Tully",246 "houseName": "Tully",247 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BYjEzNThlMmQtMDgzYi00MTQ5LTllMzQtNDZjY2JiMTVhNmNkXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",248 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BYjEzNThlMmQtMDgzYi00MTQ5LTllMzQtNDZjY2JiMTVhNmNkXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",249 "characterLink": "/character/ch0316931/",250 "actorName": "Tobias Menzies",251 "actorLink": "/name/nm0580014/",252 "marriedEngaged": ["Roslin Frey"],253 "siblings": ["Catelyn Stark", "Lysa Arryn"]254 },255 {256 "characterName": "Ellaria Sand",257 "houseName": "Martell",258 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BNWQ0ZDE5NDUtNDVmZi00ZTI5LTkyOTgtNDhiNjMwZjY3ZjgwXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",259 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BNWQ0ZDE5NDUtNDVmZi00ZTI5LTkyOTgtNDhiNjMwZjY3ZjgwXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",260 "characterLink": "/character/ch0309687/",261 "actorName": "Indira Varma",262 "actorLink": "/name/nm0890055/",263 "killed": ["Myrcella Baratheon", "Doran Martell"],264 "parentOf": ["Tyene Sand"],265 "marriedEngaged": ["Oberyn Martell"]266 },267 {268 "characterName": "Euron Greyjoy",269 "houseName": "Greyjoy",270 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BNzg1MTJhMjMtMmY4Yy00NTU2LTliZWUtNjM4YzAxY2M3ZDBkXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",271 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BNzg1MTJhMjMtMmY4Yy00NTU2LTliZWUtNjM4YzAxY2M3ZDBkXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",272 "characterLink": "/character/ch0518715/",273 "actorName": "Pilou Asbæk",274 "actorLink": "/name/nm1561982/",275 "killed": ["Balon Greyjoy", "Obara Sand", "Nymeria Sand", "Rhaegal"],276 "siblings": ["Balon Greyjoy", "Aeron Greyjoy"],277 "killedBy": ["Jaime Lannister"]278 },279 {280 "characterName": "Gendry",281 "houseName": "Baratheon",282 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTcxNzYwMTk4MV5BMl5BanBnXkFtZTcwNDg1ODg4OQ@@._V1._SX100_SY140_.jpg",283 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTcxNzYwMTk4MV5BMl5BanBnXkFtZTcwNDg1ODg4OQ@@._V1_SY1000_CR0,0,846,1000_AL_.jpg",284 "characterLink": "/character/ch0300040/",285 "actorName": "Joe Dempsie",286 "actorLink": "/name/nm1478079/",287 "parents": ["Robert Baratheon"],288 "killed": ["Kevin Eldon", "Laurence Spellman"]289 },290 {291 "characterName": "Hoster Tully",292 "houseName": "Tully",293 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BNTY3YzMzOWUtNzNjYi00ODYzLThjNjUtNzc4NzFlNmE2NjgyXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",294 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BNTY3YzMzOWUtNzNjYi00ODYzLThjNjUtNzc4NzFlNmE2NjgyXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",295 "characterLink": "/character/ch0540082/",296 "actorName": "Christopher Newman",297 "actorLink": "/name/nm0628040/"298 },299 {300 "characterName": "Jaime Lannister",301 "houseName": "Lannister",302 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMjIzMzU1NjM1MF5BMl5BanBnXkFtZTcwMzIxODg4OQ@@._V1._SX100_SY140_.jpg",303 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMjIzMzU1NjM1MF5BMl5BanBnXkFtZTcwMzIxODg4OQ@@._V1_.jpg",304 "characterLink": "/character/ch0158527/",305 "actorName": "Nikolaj Coster-Waldau",306 "actorLink": "/name/nm0182666/",307 "nickname": "The Kingslayer",308 "kingsguard": true,309 "parents": ["Tywin Lannister"],310 "parentOf": ["Joffrey Baratheon", "Myrcella Baratheon", "Tommen Baratheon"],311 "guardianOf": [312 "Aerys II Targaryen",313 "Robert Baratheon",314 "Joffrey Baratheon"315 ],316 "killed": [317 "Aerys II Targaryen",318 "Jory Cassel",319 "Alton Lannister",320 "Torrhen Karstark",321 "Olenna Tyrell",322 "Euron Greyjoy"323 ],324 "siblings": ["Cersei Lannister", "Tyrion Lannister"],325 "killedBy": ["Roof collapse"]326 },327 {328 "characterName": "Jeor Mormont",329 "houseName": "Mormont",330 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BODAwODYyNzk0NV5BMl5BanBnXkFtZTcwNDI2NDk4OQ@@._V1._SX100_SY140_.jpg",331 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BODAwODYyNzk0NV5BMl5BanBnXkFtZTcwNDI2NDk4OQ@@._V1_.jpg",332 "characterLink": "/character/ch0251492/",333 "actorName": "James Cosmo",334 "actorLink": "/name/nm0181920/",335 "killedBy": ["Rast"],336 "parentOf": ["Jorah Mormont"]337 },338 {339 "characterName": "Joffrey Baratheon",340 "houseName": "Baratheon",341 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTk1NDg5MTAwMl5BMl5BanBnXkFtZTcwOTIwODg4OQ@@._V1._SX100_SY140_.jpg",342 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTk1NDg5MTAwMl5BMl5BanBnXkFtZTcwOTIwODg4OQ@@._V1_SY1000_CR0,0,818,1000_AL_.jpg",343 "characterLink": "/character/ch0156278/",344 "actorName": "Jack Gleeson",345 "actorLink": "/name/nm0322416/",346 "parents": ["Robert Baratheon", "Cersei Lannister", "Jaime Lannister"],347 "siblings": ["Myrcella Baratheon", "Tommen Baratheon"],348 "marriedEngaged": ["Sansa Stark", "Margaery Tyrell"],349 "royal": true,350 "killed": ["Ros"],351 "killedBy": ["Petyr Baelish", "Olenna Tyrell"]352 },353 {354 "characterName": "Jon Snow",355 "houseName": ["Stark", "Targaryen"],356 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTkwMjUxMDk2OV5BMl5BanBnXkFtZTcwMzg3MTg4OQ@@._V1._SX100_SY140_.jpg",357 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTkwMjUxMDk2OV5BMl5BanBnXkFtZTcwMzg3MTg4OQ@@._V1_.jpg",358 "characterLink": "/character/ch0155777/",359 "actorName": "Kit Harington",360 "actorLink": "/name/nm3229685/",361 "royal": true,362 "parents": ["Rhaegar Targaryen", "Lyanna Stark"],363 "guardedBy": ["Eddard Stark", "Ghost"],364 "killed": [365 "Othor",366 "Qhorin Halfhand",367 "Orell",368 "Karl Tanner",369 "Styr",370 "Mance Rayder",371 "Janos Slynt",372 "White Walker",373 "Alliser Thorne",374 "Othell Yarwyck",375 "Bowen Marsh",376 "Olly",377 "Lyanna Stark",378 "Daenerys Targaryen"379 ],380 "killedBy": ["Alliser Thorne", "Othell Yarwyck", "Bowen Marsh", "Olly"],381 "marriedEngaged": ["Ygritte"]382 },383 {384 "characterName": "Jorah Mormont",385 "houseName": "Mormont",386 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTkzNTcxMDI2NV5BMl5BanBnXkFtZTcwMzgxNzI4OQ@@._V1._CR225,437,407,405._SX100_SY140_.jpg",387 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTkzNTcxMDI2NV5BMl5BanBnXkFtZTcwMzgxNzI4OQ@@._V1._CR225,437,407,405_.jpg",388 "characterLink": "/character/ch0158221/",389 "actorName": "Iain Glen",390 "actorLink": "/name/nm0322513/",391 "killed": ["Qotho", "Norvoshi Pit Fighter", "Meereenese Champion"],392 "serves": ["Daenerys Targaryen"],393 "parents": ["Jeor Mormont"],394 "killedBy": ["Wights"]395 },396 {397 "characterName": "Kevan Lannister",398 "houseName": "Lannister",399 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMjZkMzliOWYtODIwNS00ZTU2LWIxNTAtYjFlNTA1YjdhNzc4XkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",400 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMjZkMzliOWYtODIwNS00ZTU2LWIxNTAtYjFlNTA1YjdhNzc4XkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",401 "characterLink": "/character/ch0305013/",402 "actorName": "Ian Gelder",403 "actorLink": "/name/nm0312245/",404 "killedBy": ["Cersei Lannister"],405 "siblings": ["Tywin Lannister"],406 "parentOf": ["Lancel Lannister", "Martyn Lannister", "Willem Lannister"]407 },408 {409 "characterName": "Lancel Lannister",410 "houseName": "Lannister",411 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMjI0MTQ5MzEzNV5BMl5BanBnXkFtZTgwNTQ4MDA2NTE@._V1._SX100_SY140_.jpg",412 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMjI0MTQ5MzEzNV5BMl5BanBnXkFtZTgwNTQ4MDA2NTE@._V1_SY1000_CR0,0,1503,1000_AL_.jpg",413 "characterLink": "/character/ch0376927/",414 "actorName": "Eugene Simon",415 "actorLink": "/name/nm1638294/",416 "killedBy": ["Cersei Lannister"],417 "parents": ["Kevan Lannister"],418 "siblings": ["Martyn Lannister", "Willem Lannister"]419 },420 {421 "characterName": "Loras Tyrell",422 "houseName": "Tyrell",423 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BNzcwNDAxZGMtODU1Mi00YzA2LWJhMzYtN2FjZjg2YWZlMTQ4XkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",424 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BNzcwNDAxZGMtODU1Mi00YzA2LWJhMzYtN2FjZjg2YWZlMTQ4XkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",425 "characterLink": "/character/ch0231428/",426 "actorName": "Finn Jones",427 "actorLink": "/name/nm3645691/",428 "killedBy": ["Cersei Lannister"],429 "siblings": ["Margaery Tyrell"],430 "parents": ["Mace Tyrell"]431 },432 {433 "characterName": "Lothar Frey",434 "houseName": "Frey",435 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMDc0NDA3YmYtZTNjYi00ZDExLWE2NTUtNzk5NjI3MGI3NzM0XkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",436 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMDc0NDA3YmYtZTNjYi00ZDExLWE2NTUtNzk5NjI3MGI3NzM0XkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",437 "characterLink": "/character/ch0384471/",438 "actors": [439 {440 "actorName": "Daniel Tuite",441 "actorLink": "/name/nm1264590/",442 "seasonsActive": [6]443 },444 {445 "actorName": "Tom Brooke",446 "actorLink": "/name/nm1623508/",447 "seasonsActive": [3]448 }449 ],450 "killed": ["Talisa Maegyr"],451 "killedBy": ["Arya Stark"],452 "parents": ["Walder Frey"]453 },454 {455 "characterName": "Lyanna Mormont",456 "houseName": "Mormont",457 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BOTY3MWNmYjAtZjZhYi00M2IzLWJjNDMtMjUzZmU3NTYyYWUxXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",458 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BOTY3MWNmYjAtZjZhYi00M2IzLWJjNDMtMjUzZmU3NTYyYWUxXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",459 "characterLink": "/character/ch0541884/",460 "actorName": "Bella Ramsey",461 "actorLink": "/name/nm8165602/",462 "killedBy": ["Wun Wun"],463 "killed": ["Wun Wun"]464 },465 {466 "characterName": "Lyanna Stark",467 "houseName": "Stark",468 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTE5NTczY2QtNmQxYS00NTAwLWE2ZTAtYzc1MTkyZGU5MzRkL2ltYWdlL2ltYWdlXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",469 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTE5NTczY2QtNmQxYS00NTAwLWE2ZTAtYzc1MTkyZGU5MzRkL2ltYWdlL2ltYWdlXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",470 "characterLink": "/character/ch0543804/",471 "actorName": "Aisling Franciosi",472 "actorLink": "/name/nm4957233/",473 "parents": ["Rickard Stark"],474 "siblings": ["Brandon Stark", "Benjen Stark", "Eddard Stark"],475 "marriedEngaged": ["Robert Baratheon", "Rhaegar Targaryen"],476 "abductedBy": ["Rhaegar Targaryen"],477 "parentOf": ["Jon Snow"],478 "killedBy": ["Jon Snow"]479 },480 {481 "characterName": "Lysa Arryn",482 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMmNlYTYzOTYtOTg1ZC00YzdlLTliNTgtZDhjMTY1MGViZTA5XkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",483 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMmNlYTYzOTYtOTg1ZC00YzdlLTliNTgtZDhjMTY1MGViZTA5XkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",484 "characterLink": "/character/ch0251736/",485 "actorName": "Kate Dickie",486 "actorLink": "/name/nm0225483/",487 "houseName": ["Arryn", "Tully"],488 "killed": ["Jon Arryn"],489 "killedBy": ["Petyr Baelish"],490 "marriedEngaged": ["Petyr Baelish"],491 "parents": ["Hoster Tully"],492 "siblings": ["Catelyn Tully", "Edmure Tully"]493 },494 {495 "characterName": "Mace Tyrell",496 "houseName": "Tyrell",497 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BNTcyZWFjZjItYmI4NS00ZDE2LTg4Y2YtYWJkYWI5MWJlNWFjXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",498 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BNTcyZWFjZjItYmI4NS00ZDE2LTg4Y2YtYWJkYWI5MWJlNWFjXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",499 "characterLink": "/character/ch0384328/",500 "actorName": "Roger Ashton-Griffiths",501 "actorLink": "/name/nm0004355/",502 "killedBy": ["Cersei Lannister"],503 "parentOf": ["Margaery Tyrell", "Loras Tyrell"]504 },505 {506 "characterName": "Maester Aemon",507 "houseName": "Targaryen",508 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMjI4NDY4MzI5NV5BMl5BanBnXkFtZTcwMTk0ODg5NA@@._V1._SX100_SY140_.jpg",509 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMjI4NDY4MzI5NV5BMl5BanBnXkFtZTcwMTk0ODg5NA@@._V1_SX1500_CR0,0,1500,999_AL_.jpg",510 "characterLink": "/character/ch0246936/",511 "actorName": "Peter Vaughan",512 "actorLink": "/name/nm0891092/",513 "killedBy": ["Old Age"]514 },515 {516 "characterName": "Margaery Tyrell",517 "houseName": "Tyrell",518 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTkzODQ1MDg3NV5BMl5BanBnXkFtZTcwODA4NDk4OQ@@._V1._SX100_SY140_.jpg",519 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTkzODQ1MDg3NV5BMl5BanBnXkFtZTcwODA4NDk4OQ@@._V1_.jpg",520 "characterLink": "/character/ch0251974/",521 "actorName": "Natalie Dormer",522 "actorLink": "/name/nm1754059/",523 "marriedEngaged": [524 "Renly Baratheon",525 "Joffrey Baratheon",526 "Tommen Baratheon"527 ],528 "killedBy": ["Cersei Lannister"],529 "siblings": ["Loras Tyrell"],530 "parents": ["Mace Tyrell"]531 },532 {533 "characterName": "Myrcella Baratheon",534 "houseName": "Baratheon",535 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTA4OTA1MTIxMzdeQTJeQWpwZ15BbWU3MDY2NjQ4NTc@._V1._SX100_SY140_.jpg",536 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTA4OTA1MTIxMzdeQTJeQWpwZ15BbWU3MDY2NjQ4NTc@._V1_SY1000_CR0,0,665,1000_AL_.jpg",537 "characterLink": "/character/ch0238585/",538 "actors": [539 {540 "actorName": "Aimee Richardson",541 "actorLink": "/name/nm4048461/",542 "seasonsActive": [1, 2]543 },544 {545 "actorName": "Nell Tiger Free",546 "actorLink": "/name/nm4836100/",547 "seasonsActive": [5, 6]548 }549 ],550 "parents": ["Robert Baratheon", "Cersei Lannister", "Jaime Lannister"],551 "siblings": ["Joffrey Baratheon", "Tommen Baratheon"],552 "royal": true,553 "killedBy": ["Ellaria Sand"],554 "marriedEngaged": ["Trystane Martell"]555 },556 {557 "characterName": "Nymeria Sand",558 "houseName": "Martell",559 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BNDZmN2FkMTEtMmMyYy00ZTcwLWE3MGQtNGU1NzY4MjAxNjQ0XkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",560 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BNDZmN2FkMTEtMmMyYy00ZTcwLWE3MGQtNGU1NzY4MjAxNjQ0XkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",561 "characterLink": "/character/ch0468074/",562 "actorName": "Jessica Henwick",563 "actorLink": "/name/nm3725055/",564 "killedBy": ["Euron Greyjoy"],565 "parents": ["Oberyn Martell"]566 },567 {568 "characterName": "Obara Sand",569 "houseName": "Martell",570 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BOWU3OTRmYmItZTZiYi00Mjk1LTk2NTItMzBjZmQ3NDZhMDMyXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",571 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BOWU3OTRmYmItZTZiYi00Mjk1LTk2NTItMzBjZmQ3NDZhMDMyXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",572 "characterLink": "/character/ch0468001/",573 "actorName": "Keisha Castle-Hughes",574 "actorLink": "/name/nm1095720/",575 "killed": ["Merchant Captain", "Trystane Martell"],576 "killedBy": ["Euron Greyjoy"],577 "parents": ["Oberyn Martell"]578 },579 {580 "characterName": "Oberyn Martell",581 "houseName": "Martell",582 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BZTJmYjViYjctYTU0My00NTJiLWE2YzUtOWZkNTg4MTZkZmEyXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",583 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BZTJmYjViYjctYTU0My00NTJiLWE2YzUtOWZkNTg4MTZkZmEyXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",584 "characterLink": "/character/ch0392307/",585 "actorName": "Pedro Pascal",586 "actorLink": "/name/nm0050959/",587 "killedBy": ["Gregor Clegane"],588 "marriedEngaged": ["Ellaria Sand"],589 "parentOf": ["Obara Sand", "Nymeria Sand", "Tyene Sand"],590 "siblings": ["Doran Martell", "Elia Martell"]591 },592 {593 "characterName": "Olenna Tyrell",594 "houseName": "Tyrell",595 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTkxMjgwOTQ3Nl5BMl5BanBnXkFtZTcwMjE2NzE5OQ@@._V1._SX100_SY140_.jpg",596 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTkxMjgwOTQ3Nl5BMl5BanBnXkFtZTcwMjE2NzE5OQ@@._V1_SY1000_CR0,0,662,1000_AL_.jpg",597 "characterLink": "/character/ch0010188/",598 "actorName": "Diana Rigg",599 "actorLink": "/name/nm0001671/",600 "killedBy": ["Jaime Lannister"],601 "killed": ["Joffrey Baratheon"],602 "parentOf": ["Mace Tyrell"]603 },604 {605 "characterName": "Ramsay Snow",606 "houseName": "Bolton",607 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMzM5Nzk3NTU5N15BMl5BanBnXkFtZTgwNzczMjk5NTE@._V1._SX100_SY140_.jpg",608 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMzM5Nzk3NTU5N15BMl5BanBnXkFtZTgwNzczMjk5NTE@._V1_SY1000_CR0,0,665,1000_AL_.jpg",609 "characterLink": "/character/ch0321004/",610 "actorName": "Iwan Rheon",611 "actorLink": "/name/nm3701064/",612 "killed": [613 "Master Torturer",614 "Medger Cerwyn",615 "Lady Cerwyn",616 "Unidentified Cerwyn",617 "Old Woman",618 "Roose Bolton",619 "Osha",620 "Rickon Stark",621 "Wun Wun"622 ],623 "marriedEngaged": ["Sansa Stark"],624 "killedBy": ["Ramsay Snow's Hounds"],625 "parents": ["Roose Bolton"]626 },627 {628 "characterName": "Renly Baratheon",629 "houseName": "Baratheon",630 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BNjA4OTE5MzcyOF5BMl5BanBnXkFtZTcwNDA1ODg5NA@@._V1._SX100_SY140_.jpg",631 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BNjA4OTE5MzcyOF5BMl5BanBnXkFtZTcwNDA1ODg5NA@@._V1_SX1500_CR0,0,1500,999_AL_.jpg",632 "characterLink": "/character/ch0246253/",633 "actorName": "Gethin Anthony",634 "actorLink": "/name/nm2167445/",635 "killedBy": ["Melisandre"],636 "siblings": ["Robert Baratheon", "Stannis Baratheon"],637 "marriedEngaged": ["Margaery Tyrell"]638 },639 {640 "characterName": "Rickon Stark",641 "houseName": "Stark",642 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMWZiOGNjMDAtOTRlNi00MDJmLWEyMTMtOGEwZTM5ODJlNDAyXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",643 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMWZiOGNjMDAtOTRlNi00MDJmLWEyMTMtOGEwZTM5ODJlNDAyXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",644 "characterLink": "/character/ch0233141/",645 "actorName": "Art Parkinson",646 "actorLink": "/name/nm3280686/",647 "siblings": ["Robb Stark", "Sansa Stark", "Arya Stark", "Bran Stark"],648 "killedBy": ["Ramsay Snow"],649 "parents": ["Eddard Stark", "Catelyn Stark"],650 "guardedBy": ["Shaggydog"]651 },652 {653 "characterName": "Robb Stark",654 "houseName": "Stark",655 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMjI2NDE1NzczNF5BMl5BanBnXkFtZTcwNjcwODg4OQ@@._V1._SX100_SY140_.jpg",656 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMjI2NDE1NzczNF5BMl5BanBnXkFtZTcwNjcwODg4OQ@@._V1_SY1000_CR0,0,845,1000_AL_.jpg",657 "characterLink": "/character/ch0158596/",658 "actorName": "Richard Madden",659 "actorLink": "/name/nm0534635/",660 "royal": true,661 "siblings": ["Sansa Stark", "Arya Stark", "Bran Stark", "Rickon Stark"],662 "killed": ["Wallen", "Rickard Karstark"],663 "marriedEngaged": ["Roslin Frey", "Talisa Maegyr"],664 "killedBy": ["Roose Bolton"],665 "parents": ["Eddard Stark", "Catelyn Stark"],666 "guardedBy": ["Grey Wind"]667 },668 {669 "characterName": "Robert Baratheon",670 "houseName": "Baratheon",671 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMzQwMDcwNzY5MF5BMl5BanBnXkFtZTcwMzIyMTE5OQ@@._V1._SX100_SY140_.jpg",672 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMzQwMDcwNzY5MF5BMl5BanBnXkFtZTcwMzIyMTE5OQ@@._V1_.jpg",673 "characterLink": "/character/ch0155776/",674 "actorName": "Mark Addy",675 "actorLink": "/name/nm0004692/",676 "royal": true,677 "guardedBy": ["Jon Arryn"],678 "marriedEngaged": ["Lyanna Stark", "Cersei Lannister"],679 "allies": ["Jon Arryn", "Eddard Stark", "Tywin Lannister"],680 "killed": ["Rhaegar Targaryen"],681 "parentOf": ["Joffrey Baratheon", "Myrcella Baratheon", "Tommen Baratheon"],682 "killedBy": ["Boar"],683 "siblings": ["Stannis Baratheon", "Renly Baratheon"]684 },685 {686 "characterName": "Roose Bolton",687 "houseName": "Bolton",688 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTQyMjE3MTExN15BMl5BanBnXkFtZTcwMTI3NDk4OQ@@._V1._SX100_SY140_.jpg",689 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTQyMjE3MTExN15BMl5BanBnXkFtZTcwMTI3NDk4OQ@@._V1_.jpg",690 "characterLink": "/character/ch0305006/",691 "actorName": "Michael McElhatton",692 "actorLink": "/name/nm0568385/",693 "killed": ["Robb Stark"],694 "killedBy": ["Ramsay Snow"],695 "parentOf": ["Ramsay Snow"],696 "marriedEngaged": ["Walda Bolton"]697 },698 {699 "characterName": "Roslin Frey",700 "houseName": "Frey",701 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BNzhhZGIxYjctMjBkNC00YTJhLTlmMDAtOWUyYjlhNWE3Yzg3XkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",702 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BNzhhZGIxYjctMjBkNC00YTJhLTlmMDAtOWUyYjlhNWE3Yzg3XkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",703 "characterLink": "/character/ch0391563/",704 "actorName": "Alexandra Dowling",705 "actorLink": "/name/nm5093301/",706 "marriedEngaged": ["Robb Stark", "Edmure Tully"],707 "parents": ["Walder Frey"]708 },709 {710 "characterName": "Sansa Stark",711 "houseName": "Stark",712 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BNjAwMjE2NDExNF5BMl5BanBnXkFtZTcwODAwODg4OQ@@._V1._SX100_SY140_.jpg",713 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BNjAwMjE2NDExNF5BMl5BanBnXkFtZTcwODAwODg4OQ@@._V1_SY1000_CR0,0,806,1000_AL_.jpg",714 "characterLink": "/character/ch0158137/",715 "actorName": "Sophie Turner",716 "actorLink": "/name/nm3849842/",717 "royal": true,718 "siblings": ["Robb Stark", "Arya Stark", "Bran Stark", "Rickon Stark"],719 "marriedEngaged": ["Joffrey Baratheon", "Tyrion Lannister", "Ramsay Snow"],720 "guardedBy": ["Lady"],721 "parents": ["Eddard Stark", "Catelyn Stark"]722 },723 {724 "characterName": "Selyse Baratheon",725 "houseName": "Baratheon",726 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BZGZjNDA5YWUtZjE5OC00NGE2LWI3Y2UtOTQ1Yjg1MDc3MTk4L2ltYWdlXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",727 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BZGZjNDA5YWUtZjE5OC00NGE2LWI3Y2UtOTQ1Yjg1MDc3MTk4L2ltYWdlXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",728 "characterLink": "/character/ch0316924/",729 "actors": [730 {731 "actorName": "Tara Fitzgerald",732 "actorLink": "/name/nm0001216/",733 "seasonsActive": [3, 4, 5]734 },735 {736 "actorName": "Sarah MacKeever",737 "actorLink": "/name/nm5223922/",738 "seasonsActive": [2]739 }740 ],741 "killedBy": ["Selyse Baratheon"],742 "killed": ["Selyse Baratheon"],743 "marriedEngaged": ["Stannis Baratheon"],744 "parentOf": ["Shireen Baratheon"]745 },746 {747 "characterName": "Shireen Baratheon",748 "houseName": "Baratheon",749 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BZjUzNmYzZDktZGY4ZS00ZDA1LWE1MGItMDAwM2E1ZGVlODg1XkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",750 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BZjUzNmYzZDktZGY4ZS00ZDA1LWE1MGItMDAwM2E1ZGVlODg1XkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",751 "characterLink": "/character/ch0306346/",752 "actorName": "Kerry Ingram",753 "actorLink": "/name/nm5081192/",754 "killedBy": ["Melisandre"],755 "parents": ["Stannis Baratheon", "Selyse Baratheon"]756 },757 {758 "characterName": "Stannis Baratheon",759 "houseName": "Baratheon",760 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMjExNzY0NzI0NF5BMl5BanBnXkFtZTcwNjA2NDk4OQ@@._V1._SX100_SY140_.jpg",761 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMjExNzY0NzI0NF5BMl5BanBnXkFtZTcwNjA2NDk4OQ@@._V1_.jpg",762 "characterLink": "/character/ch0250897/",763 "actorName": "Stephen Dillane",764 "actorLink": "/name/nm0226820/",765 "siblings": ["Robert Baratheon", "Renly Baratheon"],766 "killed": ["Gordy", "Simpson"],767 "killedBy": ["Brienne of Tarth"],768 "marriedEngaged": ["Selyse Baratheon"],769 "parentOf": ["Shireen Baratheon"]770 },771 {772 "characterName": "Talla Tarly",773 "houseName": "Tarly",774 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BZTYwYTA2MWEtM2FjNS00MDNhLWIyMzMtODI0Mjg2Y2ZlODBiXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",775 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BZTYwYTA2MWEtM2FjNS00MDNhLWIyMzMtODI0Mjg2Y2ZlODBiXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",776 "characterLink": "/character/ch0523897/",777 "actorName": "Rebecca Benson",778 "actorLink": "/name/nm5039410/",779 "parents": ["Randyll Tarly", "Melessa Tarly"],780 "siblings": ["Dickon Tarly", "Samwell Tarly"]781 },782 {783 "characterName": "Theon Greyjoy",784 "houseName": "Greyjoy",785 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTM3ODUyOTY3N15BMl5BanBnXkFtZTcwNjI4MTg4OQ@@._V1._SX100_SY140_.jpg",786 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTM3ODUyOTY3N15BMl5BanBnXkFtZTcwNjI4MTg4OQ@@._V1_.jpg",787 "characterLink": "/character/ch0158526/",788 "actorName": "Alfie Allen",789 "actorLink": "/name/nm0654295/",790 "killed": ["Stiv", "Rodrik Cassel", "Myranda", "Bolton Soldier", "Harrag"],791 "siblings": ["Yara Greyjoy"],792 "parents": ["Balon Greyjoy"],793 "killedBy": ["The Night King"]794 },795 {796 "characterName": "Tommen Baratheon",797 "houseName": "Baratheon",798 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BOTY1YWUxM2QtZjhmZC00ZmQ2LThkM2YtNTk2MmQ5OTk3NGMyXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",799 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BOTY1YWUxM2QtZjhmZC00ZmQ2LThkM2YtNTk2MmQ5OTk3NGMyXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",800 "characterLink": "/character/ch0256424/",801 "actors": [802 {803 "actorName": "Callum Wharry",804 "actorLink": "/name/nm4422626/",805 "seasonsActive": [1, 2]806 },807 {808 "actorName": "Dean-Charles Chapman",809 "actorLink": "/name/nm2835616/",810 "seasonsActive": [4, 5, 6]811 }812 ],813 "parents": ["Robert Baratheon", "Cersei Lannister", "Jaime Lannister"],814 "siblings": ["Joffrey Baratheon", "Myrcella Baratheon"],815 "royal": true,816 "marriedEngaged": ["Margaery Tyrell"],817 "killed": ["Tommen Baratheon"],818 "killedBy": ["Tommen Baratheon"]819 },820 {821 "characterName": "Trystane Martell",822 "houseName": "Martell",823 "characterImageThumb": "https://m.media-amazon.com/images/M/MV5BODkzNjY0NTA0MV5BMl5BanBnXkFtZTgwNjc1NDE3NTE@._V1_SX100_CR0,0,100,100_AL_.jpg",824 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BODkzNjY0NTA0MV5BMl5BanBnXkFtZTgwNjc1NDE3NTE@._V1_.jpg",825 "characterLink": "/character/ch0506400/",826 "actorName": "Toby Sebastian",827 "actorLink": "/name/nm4514519/",828 "marriedEngaged": ["Myrcella Baratheon"],829 "killedBy": ["Obara Sand"],830 "parents": ["Doran Martell"]831 },832 {833 "characterName": "Tyene Sand",834 "houseName": "Martell",835 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BNDY5NzBiMTQtYzhmMS00Y2FmLTkzYzYtYzM2ODBjNGZlNGNiXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",836 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BNDY5NzBiMTQtYzhmMS00Y2FmLTkzYzYtYzM2ODBjNGZlNGNiXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",837 "characterLink": "/character/ch0468075/",838 "actorName": "Rosabell Laurenti Sellers",839 "actorLink": "/name/nm3065809/",840 "killed": ["Areo Hotah", "Maester Caleotte"],841 "killedBy": ["Cersei Lannister"],842 "parents": ["Oberyn Martell", "Ellaria Sand"]843 },844 {845 "characterName": "Tyrion Lannister",846 "houseName": "Lannister",847 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMjA2MDAwOTI0OV5BMl5BanBnXkFtZTcwNjA3NDg1Nw@@._V1._SX100_SY140_.jpg",848 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMjA2MDAwOTI0OV5BMl5BanBnXkFtZTcwNjA3NDg1Nw@@._V1_SX1500_CR0,0,1500,999_AL_.jpg",849 "characterLink": "/character/ch0146096/",850 "actorName": "Peter Dinklage",851 "actorLink": "/name/nm0227759/",852 "marriedEngaged": ["Sansa Stark"],853 "killed": ["Shae", "Tywin Lannister"],854 "parents": ["Tywin Lannister"],855 "siblings": ["Cersei Lannister", "Jaime Lannister"],856 "serves": ["Daenerys Targaryen"]857 },858 {859 "characterName": "Tywin Lannister",860 "houseName": "Lannister",861 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BOTA4ODMxMzE1OV5BMl5BanBnXkFtZTcwMTM0ODg4OQ@@._V1._SX100_SY140_.jpg",862 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BOTA4ODMxMzE1OV5BMl5BanBnXkFtZTcwMTM0ODg4OQ@@._V1_.jpg",863 "characterLink": "/character/ch0242185/",864 "actorName": "Charles Dance",865 "actorLink": "/name/nm0001097/",866 "parentOf": ["Jaime Lannister", "Cersei Lannister", "Tyrion Lannister"],867 "allies": ["Robert Baratheon"],868 "servedBy": ["Gregor Clegane"],869 "killedBy": ["Tyrion Lannister"]870 },871 {872 "characterName": "Viserys Targaryen",873 "houseName": "Targaryen",874 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTgwNzIxMTU1OV5BMl5BanBnXkFtZTcwNzI2ODg5NA@@._V1._SX100_SY140_.jpg",875 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTgwNzIxMTU1OV5BMl5BanBnXkFtZTcwNzI2ODg5NA@@._V1_SY1000_CR0,0,1503,1000_AL_.jpg",876 "characterLink": "/character/ch0155775/",877 "actorName": "Harry Lloyd",878 "actorLink": "/name/nm0516003/",879 "royal": true,880 "parents": ["Rhaella Targaryen", "Aerys II Targaryen"],881 "siblings": ["Daenerys Targaryen", "Rhaegar Targaryen"],882 "killedBy": ["Khal Drogo"]883 },884 {885 "characterName": "Walda Bolton",886 "houseName": ["Bolton", "Frey"],887 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BOTZiNWE2YTYtZDA2Ny00ZmUwLTk4ZWUtZjFkM2JkYjFiNjE3XkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",888 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BOTZiNWE2YTYtZDA2Ny00ZmUwLTk4ZWUtZjFkM2JkYjFiNjE3XkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",889 "characterLink": "/character/ch0506401/",890 "actorName": "Elizabeth Webster",891 "actorLink": "/name/nm3531913/",892 "killedBy": ["Ramsay Snow's Hounds"],893 "marriedEngaged": ["Roose Bolton"]894 },895 {896 "characterName": "Walder Frey",897 "houseName": "Frey",898 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BYzU0YzZjMTktZDA2Ni00YTRhLWFkZTgtOTQ4Yjg2MmQ2OGUzXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1._SX100_SY140_.jpg",899 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BYzU0YzZjMTktZDA2Ni00YTRhLWFkZTgtOTQ4Yjg2MmQ2OGUzXkEyXkFqcGdeQXVyMjk3NTUyOTc@._V1_.jpg",900 "characterLink": "/character/ch0305328/",901 "actorName": "David Bradley",902 "actorLink": "/name/nm0103195/",903 "killedBy": ["Arya Stark"],904 "parentOf": [905 "Black Walder Rivers",906 "Lothar Frey",907 "Roslin Frey",908 "Ryger Rivers"909 ],910 "marriedEngaged": ["Joyeuse Erenford", "Kitty Frey"]911 },912 {913 "characterName": "Yara Greyjoy",914 "houseName": "Greyjoy",915 "characterImageThumb": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTc2NzU5ODk0MV5BMl5BanBnXkFtZTcwMzEyNDY2OQ@@._V1._SX100_SY140_.jpg",916 "characterImageFull": "https://images-na.ssl-images-amazon.com/images/M/MV5BMTc2NzU5ODk0MV5BMl5BanBnXkFtZTcwMzEyNDY2OQ@@._V1_SY1000_CR0,0,1503,1000_AL_.jpg",917 "characterLink": "/character/ch0300217/",918 "actorName": "Gemma Whelan",919 "actorLink": "/name/nm2247629/",920 "parents": ["Balon Greyjoy"],921 "siblings": ["Theon Greyjoy"]922 }923 ];...

Full Screen

Full Screen

worm.ts

Source:worm.ts Github

copy

Full Screen

1// Copyright (c) 2011-2012 Turbulenz Limited2interface PlayerInfo3{4 score: number;5 team: string;6 status: string;7 color: string;8};9interface WormDirection10{11 NONE : number;12 UP : number;13 DOWN : number;14 RIGHT : number;15 LEFT : number;16};17//18// Worm: Worm class19//20class Worm21{22 // Enums for worm direction23 direction : WormDirection;24 upVector : number[];25 downVector : number[];26 rightVector : number[];27 leftVector : number[];28 zeroVector : number[];29 boardSpacing : number;30 boardWidth : number;31 boardHeight : number;32 maxPlayers : number;33 directionVector : number[];34 partsPositionX : any; // number[];35 partsPositionY : any; // number[];36 previousTailX : number;37 previousTailY : number;38 killedBy : number;39 updated : boolean;40 playerInfo : PlayerInfo;41 hasLooped : boolean;42 // Changes the worm's direction43 changeDirection(newDirection)44 {45 var direction = this.direction;46 var directionVector = this.directionVector;47 var newDirectionVector;48 switch (newDirection)49 {50 case direction.UP:51 if (directionVector !== this.downVector)52 {53 newDirectionVector = this.upVector;54 }55 break;56 case direction.DOWN:57 if (directionVector !== this.upVector)58 {59 newDirectionVector = this.downVector;60 }61 break;62 case direction.RIGHT:63 if (directionVector !== this.leftVector)64 {65 newDirectionVector = this.rightVector;66 }67 break;68 case direction.LEFT:69 if (directionVector !== this.rightVector)70 {71 newDirectionVector = this.leftVector;72 }73 break;74 default:75 newDirectionVector = this.zeroVector;76 break;77 }78 if (newDirectionVector !== undefined)79 {80 if (directionVector !== newDirectionVector)81 {82 this.directionVector = newDirectionVector;83 this.updated = true;84 }85 }86 }87 // Update called every frame88 update()89 {90 if (this.directionVector !== this.zeroVector)91 {92 if (this.partsPositionX.length === 1)93 {94 this.playerInfo.status = "is looking for food.";95 }96 this.moveBody();97 this.moveHead();98 this.updated = true;99 }100 else101 {102 this.playerInfo.status = "is thinking about getting some lunch.";103 }104 this.killedBy = null;105 }106 // Collided with something107 die(killedBy)108 {109 this.directionVector = this.zeroVector;110 this.killedBy = killedBy;111 this.updated = true;112 this.playerInfo.status = "is bird-food.";113 }114 // Serialize worm information115 serialize()116 {117 var directionVector = this.directionVector;118 var direction = this.direction;119 var dir;120 if (directionVector === this.downVector)121 {122 dir = direction.DOWN;123 }124 else if (directionVector === this.upVector)125 {126 dir = direction.UP;127 }128 else if (directionVector === this.leftVector)129 {130 dir = direction.LEFT;131 }132 else if (directionVector === this.rightVector)133 {134 dir = direction.RIGHT;135 }136 else //if (directionVector === this.zeroVector)137 {138 dir = direction.NONE;139 }140 var data = {141 dir: dir,142 x: this.partsPositionX.slice(),143 y: this.partsPositionY.slice(),144 score: this.playerInfo.score,145 color: this.playerInfo.color,146 team: this.playerInfo.team,147 status: this.playerInfo.status,148 killedBy: <number>undefined149 };150 var killedBy = this.killedBy;151 if (killedBy !== null)152 {153 data.killedBy = killedBy;154 }155 return data;156 }157 // Deserialize from external data158 deserialize(isHost, data)159 {160 var partsPositionX = this.partsPositionX;161 var partsPositionY = this.partsPositionY;162 var numParts = partsPositionX.length;163 if (!isHost)164 {165 var killedBy = data.killedBy;166 if (killedBy !== undefined)167 {168 this.killedBy = killedBy;169 }170 else171 {172 this.killedBy = null;173 }174 }175 var direction = this.direction;176 switch (data.dir)177 {178 case direction.UP:179 this.directionVector = this.upVector;180 break;181 case direction.DOWN:182 this.directionVector = this.downVector;183 break;184 case direction.RIGHT:185 this.directionVector = this.rightVector;186 break;187 case direction.LEFT:188 this.directionVector = this.leftVector;189 break;190 default:191 this.directionVector = this.zeroVector;192 break;193 }194 var newPartsPositionX = data.x;195 var newPartsPositionY = data.y;196 var newNumParts = newPartsPositionX.length;197 if (numParts !== newNumParts)198 {199 partsPositionX.length = newNumParts;200 partsPositionY.length = newNumParts;201 }202 for (var n = 0; n < newNumParts; n += 1)203 {204 partsPositionX[n] = newPartsPositionX[n];205 partsPositionY[n] = newPartsPositionY[n];206 }207 this.playerInfo.score = data.score;208 this.playerInfo.team = data.team;209 this.playerInfo.status = data.status;210 this.playerInfo.color = data.color;211 }212 // Moves all of worm parts as required213 moveBody()214 {215 var partsPositionX = this.partsPositionX;216 var partsPositionY = this.partsPositionY;217 var length = partsPositionX.length;218 var tailIndex = (length - 1);219 var i;220 // Update the previous tail position221 this.previousTailX = partsPositionX[tailIndex];222 this.previousTailY = partsPositionY[tailIndex];223 // Copy positions from back to front224 for (i = tailIndex; i > 0; i -= 1)225 {226 partsPositionX[i] = partsPositionX[i - 1];227 partsPositionY[i] = partsPositionY[i - 1];228 }229 }230 // Moves head and loops over board edge if necessary231 moveHead()232 {233 var boardWidth = this.boardWidth;234 var boardHeight = this.boardHeight;235 var partsPositionX = this.partsPositionX;236 var partsPositionY = this.partsPositionY;237 var directionVector = this.directionVector;238 var headPositionX = partsPositionX[0];239 var headPositionY = partsPositionY[0];240 // Update head of snake241 headPositionX += directionVector[0];242 headPositionY += directionVector[1];243 this.hasLooped = true;244 // Adjust if it has gone off edge245 if (headPositionX === boardWidth)246 {247 headPositionX = 0;248 }249 else if (headPositionX === -1)250 {251 headPositionX = boardWidth - 1;252 }253 else if (headPositionY === boardHeight)254 {255 headPositionY = 0;256 }257 else if (headPositionY === -1)258 {259 headPositionY = boardHeight - 1;260 }261 else262 {263 this.hasLooped = false;264 }265 partsPositionX[0] = headPositionX;266 partsPositionY[0] = headPositionY;267 }268 // Increases worm length by 1269 addToTail()270 {271 var partsPositionX = this.partsPositionX;272 var partsPositionY = this.partsPositionY;273 var length = partsPositionX.length;274 partsPositionX[length] = this.previousTailX;275 partsPositionY[length] = this.previousTailY;276 this.updated = true;277 if (length > 2) {278 this.playerInfo.status = "is still hungry.";279 }280 if (length > 4) {281 this.playerInfo.status = "is getting full.";282 }283 if (length > 8) {284 this.playerInfo.status = "is eating too much.";285 }286 if (length > 10) {287 this.playerInfo.status = "is putting on a bit of weight.";288 }289 if (length > 12) {290 this.playerInfo.status = "is feeling bloated.";291 }292 }293 // Tests for self intersection294 isIntersectingSelf()295 {296 var partsPositionX = this.partsPositionX;297 var partsPositionY = this.partsPositionY;298 var length = partsPositionX.length;299 var headX = partsPositionX[0];300 var headY = partsPositionY[0];301 var i;302 for (i = 1; i < length; i += 1)303 {304 if (partsPositionX[i] === headX &&305 partsPositionY[i] === headY)306 {307 return true;308 }309 }310 return false;311 }312 // Tests for intersection with other worms313 isIntersecting(otherWorm)314 {315 var otherPartsPositionX = otherWorm.partsPositionX;316 var otherPartsPositionY = otherWorm.partsPositionY;317 var otherLength = otherPartsPositionX.length;318 var headX = this.partsPositionX[0];319 var headY = this.partsPositionY[0];320 var i;321 for (i = 0; i < otherLength; i += 1)322 {323 if (otherPartsPositionX[i] === headX &&324 otherPartsPositionY[i] === headY)325 {326 return true;327 }328 }329 return false;330 }331 // Tests if position x,y is covered by worm332 containsPosition(x, y)333 {334 var partsPositionX = this.partsPositionX;335 var partsPositionY = this.partsPositionY;336 var length = partsPositionX.length;337 var i;338 for (i = 0; i < length; i += 1)339 {340 if (partsPositionX[i] === x &&341 partsPositionY[i] === y)342 {343 return true;344 }345 }346 return false;347 }348 // Test if position x,y is covered by worm head349 isOnHead(x, y)350 {351 if (this.partsPositionX[0] === x &&352 this.partsPositionY[0] === y)353 {354 return true;355 }356 return false;357 }358 // Resets worm to original state359 reset(x, y)360 {361 this.hasLooped = false;362 var partsPositionX = this.partsPositionX;363 var partsPositionY = this.partsPositionY;364 this.directionVector = this.zeroVector;365 partsPositionX.length = 1;366 partsPositionY.length = 1;367 partsPositionX[0] = x;368 partsPositionY[0] = y;369 this.previousTailX = x;370 this.previousTailY = y;371 this.playerInfo.color = Math.random() > 0.5 ? "green" : "yellow";372 this.playerInfo.score = 0;373 this.updated = true;374 }375 static create(gameSettings): Worm376 {377 var worm = new Worm();378 worm.boardSpacing = gameSettings.boardSpacing;379 worm.boardWidth = gameSettings.width;380 worm.boardHeight = gameSettings.height;381 worm.maxPlayers = gameSettings.maxPlayers;382 worm.directionVector = worm.zeroVector;383 worm.partsPositionX = [];384 worm.partsPositionY = [];385 worm.previousTailX = 0;386 worm.previousTailY = 0;387 worm.killedBy = null;388 worm.updated = false;389 worm.playerInfo = {390 score: 0,391 team: "Worms",392 status: "is thinking about getting some lunch.",393 color: Math.random() > 0.5 ? "green" : "yellow"394 };395 return worm;396 }397}398Worm.prototype.direction = {399 NONE : -1,400 UP : 0,401 DOWN : 1,402 RIGHT : 2,403 LEFT : 3404};405Worm.prototype.upVector = [ 0, 1];406Worm.prototype.downVector = [ 0, -1];407Worm.prototype.rightVector = [ 1, 0];408Worm.prototype.leftVector = [-1, 0];...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1var killedBy = require('stryker-parent').killedBy;2killedBy('test.js');3var killedBy = require('stryker-parent').killedBy;4killedBy('test2.js');5var killedBy = require('stryker-parent').killedBy;6killedBy('test3.js');7var killedBy = require('stryker-parent').killedBy;8killedBy('test4.js');9var killedBy = require('stryker-parent').killedBy;10killedBy('test5.js');11var killedBy = require('stryker-parent').killedBy;12killedBy('test6.js');13var killedBy = require('stryker-parent').killedBy;14killedBy('test7.js');15var killedBy = require('stryker-parent').killedBy;16killedBy('test8.js');17var killedBy = require('stryker-parent').killedBy;18killedBy('test9.js');19var killedBy = require('stryker-parent').killedBy;20killedBy('test10.js');21var killedBy = require('stryker-parent').killedBy;22killedBy('test11.js');23var killedBy = require('stryker-parent').killedBy;24killedBy('test12.js');

Full Screen

Using AI Code Generation

copy

Full Screen

1var killedBy = require('stryker-parent').killedBy;2var killedBy = require('stryker-parent').killedBy;3describe('killedBy', function() {4 it('should return true when a mutant is killed by a test', function() {5 var mutant = { id: 1 };6 var test = { id: 1, mutants: [mutant] };7 expect(killedBy(mutant, test)).to.be.true;8 });9});

Full Screen

Using AI Code Generation

copy

Full Screen

1var child = require('child_process');2var killedBy = require('stryker-parent').killedBy;3child.exec('node test2.js', function (error, stdout, stderr) {4 console.log('stdout: ' + stdout);5 console.log('stderr: ' + stderr);6 if (error !== null) {7 console.log('exec error: ' + error);8 if (killedBy(error, 'SIGKILL')) {9 console.log('killed by SIGKILL');10 }11 }12});13var killedBy = require('stryker-parent').killedBy;14process.on('SIGTERM', function () {15 console.log('received SIGTERM');16 process.exit(0);17});18setTimeout(function () {19 console.log('exiting');20 process.exit(0);21}, 5000);

Full Screen

Using AI Code Generation

copy

Full Screen

1var Parent = require('stryker-parent');2var p = new Parent();3p.killedBy('test');4var Parent = require('stryker-parent');5var p = new Parent();6p.killedBy('test');7var Parent = require('stryker-parent');8var p = new Parent();9p.killedBy('test');10var Parent = require('stryker-parent');11var p = new Parent();12p.killedBy('test');13var Parent = require('stryker-parent');14var p = new Parent();15p.killedBy('test');16var Parent = require('stryker-parent');17var p = new Parent();18p.killedBy('test');19var Parent = require('stryker-parent');20var p = new Parent();21p.killedBy('test');22var Parent = require('stryker-parent');23var p = new Parent();24p.killedBy('test');25var Parent = require('stryker-parent');26var p = new Parent();27p.killedBy('test');28var Parent = require('stryker-parent');29var p = new Parent();30p.killedBy('test');31var Parent = require('stryker-parent');32var p = new Parent();33p.killedBy('test');34var Parent = require('stryker-parent');35var p = new Parent();36p.killedBy('test');37var Parent = require('stryker

Full Screen

Using AI Code Generation

copy

Full Screen

1var killedBy = require('stryker-parent').killedBy;2var killed = killedBy('test.js');3var killedBy = require('stryker-parent').killedBy;4var killed = killedBy('test.js');5var killedBy = require('stryker-parent').killedBy;6var killed = killedBy('test.js');7var killedBy = require('stryker-parent').killedBy;8var killed = killedBy('test.js');9var killedBy = require('stryker-parent').killedBy;10var killed = killedBy('test.js');11var killedBy = require('stryker-parent').killedBy;12var killed = killedBy('test.js');13var killedBy = require('stryker-parent').killedBy;14var killed = killedBy('test.js');15var killedBy = require('stryker-parent').killedBy;16var killed = killedBy('test.js');17var killedBy = require('stryker-parent').killedBy;18var killed = killedBy('test.js');

Full Screen

Using AI Code Generation

copy

Full Screen

1const killedBy = require('stryker-parent').killedBy;2const str = 'abc';3const killed = killedBy(str, 'b');4console.log(killed);5const killedBy = require('stryker-parent').killedBy;6const str = 'abc';7const killed = killedBy(str, 'c');8console.log(killed);9const killedBy = require('stryker-parent').killedBy;10const str = 'abc';11const killed = killedBy(str, 'd');12console.log(killed);13const killedBy = require('stryker-parent').killedBy;14const str = 'abc';15const killed = killedBy(str, 'a');16console.log(killed);17const killedBy = require('stryker-parent').killedBy;18const str = 'abc';19const killed = killedBy(str, 'b');20console.log(killed);21const killedBy = require('stryker-parent').killedBy;22const str = 'abc';23const killed = killedBy(str, 'c');24console.log(killed);25const killedBy = require('stryker-parent').killedBy;26const str = 'abc';27const killed = killedBy(str, 'd');28console.log(killed);29const killedBy = require('stryker-parent').killedBy;30const str = 'abc';31const killed = killedBy(str, 'a');32console.log(killed);33const killedBy = require('stryker-parent').killedBy;34const str = 'abc';35const killed = killedBy(str,

Full Screen

Using AI Code Generation

copy

Full Screen

1const killedBy = require('stryker-parent').killedBy;2console.log('killedBy', killedBy);3const killedBy = require('stryker-parent').killedBy;4console.log('killedBy', killedBy);5const killedBy = require('stryker-parent').killedBy;6console.log('killedBy', killedBy);7const killedBy = require('stryker-parent').killedBy;8console.log('killedBy', killedBy);9const killedBy = require('stryker-parent').killedBy;10console.log('killedBy', killedBy);11const killedBy = require('stryker-parent').killedBy;12console.log('killedBy', killedBy);13const killedBy = require('stryker-parent').killedBy;14console.log('killedBy', killedBy);15const killedBy = require('stryker-parent').killedBy;16console.log('killedBy', killedBy);17const killedBy = require('stryker-parent').killedBy;18console.log('killedBy', killedBy);

Full Screen

Using AI Code Generation

copy

Full Screen

1const { killedBy } = require('stryker-parent');2if (killedBy('Foo')) {3 console.log('Foo killed me');4}5const { killedBy } = require('stryker-parent');6if (killedBy('Foo', 'foo')) {7 console.log('Foo killed me');8}

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run stryker-parent automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful