[Haskell-cafe] Re: Tetris
Speaking of Tetris and Space Invaders, you might be interested in this project: http://www.geocities.jp/takascience/haskell/monadius_en.html It's a clone of Gradius written in Haskell. -Nick ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Re: Tetris
On Nov 20, 2007 10:41 AM, nick ralabate [EMAIL PROTECTED] wrote: Speaking of Tetris and Space Invaders, you might be interested in this project: http://www.geocities.jp/takascience/haskell/monadius_en.html It's a clone of Gradius written in Haskell. -Nick It's a fun enough game under Wine, but has anyone managed to get it to compile under Linux? I tried but couldn't, and the associated makefile seems to be very Windows-specific. -- gwern ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Re: Tetris
Hi It's a fun enough game under Wine, but has anyone managed to get it to compile under Linux? I tried but couldn't, and the associated makefile seems to be very Windows-specific. It's not makefile that is specific but c file for Audio: stub.c It compiles without problem: ghc --make Main.hs (remember to install glut bindings - libghc6-glut-dev on ubuntu) but it fails on linking. If you browse the source and disable audio then it should link. Cheers, Radek. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Re: Tetris
2007/11/20, Gwern Branwen [EMAIL PROTECTED]: On Nov 20, 2007 10:41 AM, nick ralabate [EMAIL PROTECTED] wrote: Speaking of Tetris and Space Invaders, you might be interested in this project: http://www.geocities.jp/takascience/haskell/monadius_en.html It's a clone of Gradius written in Haskell. -Nick It's a fun enough game under Wine, but has anyone managed to get it to compile under Linux? I tried but couldn't, and the associated makefile seems to be very Windows-specific. I have prepare quick patch that removes audio from Monadius so it compiles on Linux and is playable (this is quick and dirty patch). Cheers, Radek. -- Codeside: http://codeside.org/ Przedszkole Miejskie nr 86 w Lodzi: http://www.pm86.pl/ monadius_patch.gz Description: GNU Zip compressed data ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Re: Tetris
On Nov 20, 2007 4:14 PM, Radosław Grzanka [EMAIL PROTECTED] wrote: 2007/11/20, Gwern Branwen [EMAIL PROTECTED]: On Nov 20, 2007 10:41 AM, nick ralabate [EMAIL PROTECTED] wrote: Speaking of Tetris and Space Invaders, you might be interested in this project: http://www.geocities.jp/takascience/haskell/monadius_en.html It's a clone of Gradius written in Haskell. -Nick It's a fun enough game under Wine, but has anyone managed to get it to compile under Linux? I tried but couldn't, and the associated makefile seems to be very Windows-specific. I have prepare quick patch that removes audio from Monadius so it compiles on Linux and is playable (this is quick and dirty patch). Cheers, Radek. That patch works fine for me. I am actually very grateful you sent that because I had just started trying to do the same thing. :) It's a pretty fun game, I think, and not at all what people think when they think of Haskell programs. I think it'd be good to fix it up and make it portable so that way Hackage can add a Game category. Right now I'm looking at lemmih's SDL-mixer binding http://darcs.haskell.org/~lemmih/hsSDL/hssdl-mixer to see if I can hack something up, but if anyone else wants to do it or has any suggestions, they're more than welcome. --- On a side-note, if anyone was seeing any initialization crashes while trying out the Shu-thing game, try adding a call to 'getArgsAndInitialize' in main; worked for me. -- gwern ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe