University of Wisconsin–Madison engineers and Field Day Lab game designers have developed educational — but, most importantly, fun — games aimed at middle and high schoolers and they are available for free!https://fielddaylab.wisc.edu/
In Lakeland, aimed at high school students, players start from the beginning, attempting to grow a town near a lake without degrading the water quality.
Lost at the Forever Mine puts players in the shoes of intergalactic materials scientists who crash land on an abandoned mining planet. Their goal is to mine and process enough fuel to stay alive and eventually repair the ship.
And there are many more!