MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/shittyprogramming/comments/9oakib/exclusive_screenshot_of_elite_fighter_gamecode/
r/shittyprogramming • u/[deleted] • Oct 15 '18
7 comments sorted by
24
What, you don't use setattr(missile, 'fired_by_' + self.__class__.__name__.lower(), True) to account for who owns it?
setattr(missile, 'fired_by_' + self.__class__.__name__.lower(), True)
7 u/IanSan5653 Oct 15 '18 (╯°□°)╯︵ ┻━┻) 13 u/plsrespecttables Oct 15 '18 ┬─┬ノ(ಠ_ಠノ) 3 u/republitard Oct 17 '18 ┻━┻| || |L(° O °L)
7
(╯°□°)╯︵ ┻━┻)
13 u/plsrespecttables Oct 15 '18 ┬─┬ノ(ಠ_ಠノ) 3 u/republitard Oct 17 '18 ┻━┻| || |L(° O °L)
13
┬─┬ノ(ಠ_ಠノ)
3 u/republitard Oct 17 '18 ┻━┻| || |L(° O °L)
3
┻━┻
| |
L(° O °L)
8
See, you're actually wrong about this. Your enemy's name is "Ile" and therefore, as its name indicates, a missile will miss him.
1
What programming langauge is this?
1 u/Bobby_FuckingB Oct 27 '18 Looks like it might by Python
Looks like it might by Python
24
u/UnchainedMundane Oct 15 '18
What, you don't use
setattr(missile, 'fired_by_' + self.__class__.__name__.lower(), True)to account for who owns it?8
u/xylempl Oct 15 '18
See, you're actually wrong about this. Your enemy's name is "Ile" and therefore, as its name indicates, a missile will miss him.
1
u/[deleted] Oct 26 '18
What programming langauge is this?