Hi, > Hello!!! > > Thank you for the answer. > I would like to know about games two-player. > I�m having problems with interface of user. I've written a Go-program (also black and white stones on a board :-) with an interface in TclHaskell. If you could be a bit more specific about your user-interface problems, I might be able to help out...
Cheers, Jan de Wit > > Thank you > Tatiana -----Original Message----- From: Tatiana [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 2:29 PM To: [EMAIL PROTECTED] Subject: Reversi Hello!!! Thank you for the answer. I would like to know about games two-player. I�m having problems with interface of user. Thank you Tatiana On 2002-10-08T17:13:35-0300, Tatiana wrote: > Hello! > > Does anybody have the game reversi in Haskell??? > I need this code to understand a problem. > If you have another game in Haskell, please help me. I need see any > game in Haskell. How about games in general (more specifically, two-player zero-sum games)? Check out section 5 of: @Article{ hughes-why, author = "John Hughes", title = "Why Functional Programming Matters", journal = "The Computer Journal", year = 1989, volume = 32, number = 2, pages = "98--107", url = "http://www.cs.chalmers.se/~rjmh/Papers/whyfp.html", abstract = "As software becomes more and more complex, it is more and more important to structure it well. Well-structured software is easy to write, easy to debug, and provides a collection of modules that can be re-used to reduce future programming costs. Conventional languages place conceptual limits on the way problems can be modularised. Functional languages push those limits back. In this paper we show that two features of functional languages in particular, higher-order functions and lazy evaluation, can contribute greatly to modularity. As examples, we manipulate lists and trees, program several numerical algorithms, and implement the alpha-beta heuristic (an algorithm from Artificial Intelligence used in game-playing programs). Since modularity is the key to successful programming, functional languages are vitally important to the real world." } -- Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig When a strange flattened eel gives a bite you can feel, that's a moray. __________________________________________________________________ Tatiana Coco ICQ#: 111963224 Current ICQ status: + More ways to contact me __________________________________________________________________ ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ ########################################### _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell
