[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] A question - Which die is still available during a move?
From: |
Joern Thyssen |
Subject: |
Re: [Bug-gnubg] A question - Which die is still available during a move? - and a request |
Date: |
Mon, 10 Feb 2003 17:53:18 +0000 |
User-agent: |
Mutt/1.4i |
On Mon, Feb 10, 2003 at 05:57:49PM +0100, Holger wrote
> Hi,
>
> I'm trying to write a feature that helps users new to backgammon by
> indicating the possible target points for a move.
>
> What I still need to know is whether there has been moved already a
> chequer and with which die. Are there any variables (or functions)
> that hold information about which die/dice were already used and which
> are still available during a move? It should be accessible from within
> board_pointer() in gtkboard.c. I hope that some information about
> this is already kept, else I'd need to add some bookkeeping logic.
No, unfortunately not.
The current board (with any internediate move) is stored in points[28].
To check if a move is partial or completed gtkboard calls GenerateMoves.
Jørn
- [Bug-gnubg] A question - Which die is still available during a move? - and a request, Holger, 2003/02/10
- Re: [Bug-gnubg] A question - Which die is still available during a move? - and a request,
Joern Thyssen <=
- Re: [Bug-gnubg] A question - Which die is still available during a move? - and a request, Jim Segrave, 2003/02/10
- Re: [Bug-gnubg] A question - Which die is still available during a move? - and a request, Holger, 2003/02/10
- Re: [Bug-gnubg] A question - Which die is still available during a move? - and a request, Jim Segrave, 2003/02/10
- Re: [Bug-gnubg] A question - Which die is still available during a move? - and a request, Holger, 2003/02/12
- Re: [Bug-gnubg] A question - Which die is still available during a move? - and a request, Jim Segrave, 2003/02/13
- Re: [Bug-gnubg] A question - Which die is still available during a move? - and a request, Holger, 2003/02/13
- Re: [Bug-gnubg] A question - Which die is still available during a move? - and a request, Jim Segrave, 2003/02/14
- Re: [Bug-gnubg] A question - Which die is still available during a move? - and a request, Holger, 2003/02/15
- Re: [Bug-gnubg] A question - Which die is still available during a move? - and a request, Jim Segrave, 2003/02/16