Skip to content

Instantly share code, notes, and snippets.

@funrep
Created September 14, 2013 13:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save funrep/6562105 to your computer and use it in GitHub Desktop.
Save funrep/6562105 to your computer and use it in GitHub Desktop.
How to make AAA 3D games in Haskell
import Game.AAAGameDevEnv (GameEngine (..), GameData (..))
main = frostbite $ bf3
frostbite :: GameData -> GameEngine
frostbite game = Engine {
version = 2.3.2,
directX = yes,
realLifePhysics = enabled,
gameStuff = game
}
bf3 :: GameData
bf3 = do
x <- diceDevelop "battlefield 3, plz!11!!1!!!"
y <- publish eaGameMakesEverything x
return y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment