Click here to Skip to main content
14,605,622 members
   

C#

 
QuestionLock a file for reading when uploading it to FTP Pin
thoru28-Jul-08 3:31
Memberthoru28-Jul-08 3:31 
AnswerRe: Lock a file for reading when uploading it to FTP Pin
Wendelius28-Jul-08 3:37
mveWendelius28-Jul-08 3:37 
AnswerRe: Lock a file for reading when uploading it to FTP Pin
Luc Pattyn28-Jul-08 3:45
sitebuilderLuc Pattyn28-Jul-08 3:45 
GeneralRe: Lock a file for reading when uploading it to FTP Pin
thoru28-Jul-08 3:56
Memberthoru28-Jul-08 3:56 
GeneralRe: Lock a file for reading when uploading it to FTP Pin
Luc Pattyn28-Jul-08 4:09
sitebuilderLuc Pattyn28-Jul-08 4:09 
GeneralRe: Lock a file for reading when uploading it to FTP Pin
thoru28-Jul-08 4:16
Memberthoru28-Jul-08 4:16 
GeneralRe: Lock a file for reading when uploading it to FTP Pin
Luc Pattyn28-Jul-08 4:28
sitebuilderLuc Pattyn28-Jul-08 4:28 
QuestionDetermining valid moves for a chess game Pin
Gareth H28-Jul-08 3:00
MemberGareth H28-Jul-08 3:00 
I am making a simple chess game in my spare time. I have been thinking of the best way to check whether or not a move is valid for a certain piece.

Each "board square" has an index: 0 to 64. I have decided that when the player wants to make a move, I'll build a list of indexes that that piece can move to, and check whether or not the new position is in that list.

So, does anyone know of a better/easier way of checking the above?, i thought I'd post here before i crack on and see if anyone had any other ideas than me - thinking out of the box and all that. Cheers.

Regards,
Gareth.

(FKA gareth111)

AnswerRe: Determining valid moves for a chess game Pin
enginço28-Jul-08 3:21
Memberenginço28-Jul-08 3:21 
GeneralRe: Determining valid moves for a chess game Pin
Gareth H28-Jul-08 3:31
MemberGareth H28-Jul-08 3:31 
AnswerRe: Determining valid moves for a chess game [modified] Pin
Luc Pattyn28-Jul-08 4:00
sitebuilderLuc Pattyn28-Jul-08 4:00 
AnswerRe: Determining valid moves for a chess game Pin
GuyThiebaut28-Jul-08 5:11
professionalGuyThiebaut28-Jul-08 5:11 
GeneralRe: Determining valid moves for a chess game Pin
Luc Pattyn28-Jul-08 5:25
sitebuilderLuc Pattyn28-Jul-08 5:25 
GeneralRe: Determining valid moves for a chess game Pin
GuyThiebaut28-Jul-08 5:43
professionalGuyThiebaut28-Jul-08 5:43 
QuestionType comparison syntax Pin
Mycroft Holmes28-Jul-08 2:58
professionalMycroft Holmes28-Jul-08 2:58 
AnswerRe: Type comparison syntax Pin
Gareth H28-Jul-08 3:03
MemberGareth H28-Jul-08 3:03 
GeneralRe: Type comparison syntax Pin
Mycroft Holmes28-Jul-08 4:13
professionalMycroft Holmes28-Jul-08 4:13 
QuestionScrapping a Datastore Pin
logicon28-Jul-08 2:54
Memberlogicon28-Jul-08 2:54 
AnswerRe: Scrapping a Datastore Pin
logicon28-Jul-08 3:26
Memberlogicon28-Jul-08 3:26 
Questionold value after validating event of datetimepicker Pin
tabstop28-Jul-08 2:25
Membertabstop28-Jul-08 2:25 
AnswerRe: old value after validating event of datetimepicker Pin
Kjetil Svendsen28-Jul-08 5:30
MemberKjetil Svendsen28-Jul-08 5:30 
GeneralRe: old value after validating event of datetimepicker Pin
tabstop28-Jul-08 20:49
Membertabstop28-Jul-08 20:49 
Questionupdate xml file Pin
arkiboys28-Jul-08 2:14
Memberarkiboys28-Jul-08 2:14 
AnswerRe: update xml file Pin
teejayem28-Jul-08 2:39
Memberteejayem28-Jul-08 2:39 
QuestionDeploying multiple projects Pin
jamesjk28-Jul-08 1:04
Memberjamesjk28-Jul-08 1:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.