Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] bitboard - howto
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Warp <warplayer@f...>
Subject: Re: [Caml-list] bitboard - howto
> Hi! all,
>
> Iam new to OCaml. Iam trying to write a chess engine.
> In order to represent the board, I need bitvectors. How do I get
bitvectors ? (i need exactly 64 bit vectors).
>
> also pointers to similar board games would be really appreciated.

You can use the Int64 module of the Stdlib wich has bit-based operations.

Nicolas Cannasse

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners