Kuro5hin.org: technology and culture, from the trenches
create account | help/FAQ | contact | links | search | IRC | site news
[ Everything | Diaries | Technology | Science | Culture | Politics | Media | News | Internet | Op-Ed | Fiction | Meta | MLP ]
We need your support: buy an ad | premium membership

[P]
Haskell Chess.hs Example

By Cancer in Cancer's Diary
Thu Jun 12, 2014 at 02:54:12 AM EST
Tags: technology, software, programming, Haskell, Chess, Source Code (all tags)
Software

http://github.com/BlastarIndia/haskelllive

http://www.youtube.com/watch?v=ScS8Q32lMxA

A good example of a simple data structure in Haskell to handle Chess boards.


ADVERTISEMENT
Sponsor: rusty
This space intentionally left blank
...because it's waiting for your ad. So why are you still reading this? Come on, get going. Read the story, and then get an ad. Alright stop it. I'm not going to say anything else. Now you're just being silly. STOP LOOKING AT ME! I'm done!
comments (24)
active | buy ad
ADVERTISEMENT
All it needs is a good AI algorithm to move the pieces around the board.  

Sponsors

Voxel dot net
o Managed Hosting
o VoxCAST Content Delivery
o Raw Infrastructure

Login

Related Links
o http://git hub.com/BlastarIndia/haskelllive
o http://www .youtube.com/watch?v=ScS8Q32lMxA
o Cancer's Diary


Display: Sort:
Haskell Chess.hs Example | 2 comments (2 topical, editorial, 0 hidden)
How is this (none / 1) (#1)
by k31 on Thu Jun 12, 2014 at 11:36:09 AM EST

a good thing?

It seems harder to read than Python, C/C++, or even an English spec.

What do you gain from the additional cognitive load?

It seems if there is an elegant way to express AI algorithms in Haskell then it might be worth it, but, um, that is the part you specifically didn't do.

Your dollar is you only Word, the wrath of it your only fear. He who has an EAR to hear....

Haskell Chess.hs Example | 2 comments (2 topical, 0 editorial, 0 hidden)
Display: Sort:

kuro5hin.org

[XML]
All trademarks and copyrights on this page are owned by their respective companies. The Rest © 2000 - Present Kuro5hin.org Inc.
See our legalese page for copyright policies. Please also read our Privacy Policy.
Kuro5hin.org is powered by Free Software, including Apache, Perl, and Linux, The Scoop Engine that runs this site is freely available, under the terms of the GPL.
Need some help? Email help@kuro5hin.org.
My heart's the long stairs.

Powered by Scoop create account | help/FAQ | mission | links | search | IRC | YOU choose the stories!