Created
September 14, 2013 13:37
-
-
Save funrep/6562105 to your computer and use it in GitHub Desktop.
How to make AAA 3D games in Haskell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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