My rendition of the "Endgame mod" (Real repo)