The gas generator comprises an electrolysis unit 10 in which gas is generated for subsequent mixing with fuel in an engine assembly. The engine assembly comprises an engine 17, a fuel container for the engine, the aforesaid electrolysis unit 10 and a mixing chamber 26 in which the ge