Click here to Skip to main content
16,008,490 members
Home / Discussions / C#
   

C#

 
GeneralRe: Lock a file for reading when uploading it to FTP Pin
thoru28-Jul-08 4:16
thoru28-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
Gareth H28-Jul-08 3:00 
AnswerRe: Determining valid moves for a chess game Pin
enginço28-Jul-08 3:21
enginço28-Jul-08 3:21 
GeneralRe: Determining valid moves for a chess game Pin
Gareth H28-Jul-08 3:31
Gareth H28-Jul-08 3:31 
AnswerRe: Determining valid moves for a chess game [modified] PinPopular
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 
Hi Guy,

that is all pretty nice, but computer chess is about performance. You simply cannot afford to waste
cycles on calling virtual methods and the like if the strength of your computer game is all that
matters. You really have to make the best use of the number of CPU cycles you are allowed.

So OOP is fine for the GUI part of a chess game, but not for the chess engine itself.
That is assuming the end goal is a chess playing program; for pure validation and visualization,
every approach is fine, and then of course OOP is recommended.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Voting for dummies? No thanks. Dead | X|


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
Gareth 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
logicon28-Jul-08 2:54 
AnswerRe: Scrapping a Datastore Pin
logicon28-Jul-08 3:26
logicon28-Jul-08 3:26 
Questionold value after validating event of datetimepicker Pin
tabstop28-Jul-08 2:25
tabstop28-Jul-08 2:25 
AnswerRe: old value after validating event of datetimepicker Pin
Kjetil Svendsen28-Jul-08 5:30
Kjetil Svendsen28-Jul-08 5:30 
GeneralRe: old value after validating event of datetimepicker Pin
tabstop28-Jul-08 20:49
tabstop28-Jul-08 20:49 
Questionupdate xml file Pin
arkiboys28-Jul-08 2:14
arkiboys28-Jul-08 2:14 
AnswerRe: update xml file Pin
teejayem28-Jul-08 2:39
teejayem28-Jul-08 2:39 
QuestionDeploying multiple projects Pin
jamesjk28-Jul-08 1:04
jamesjk28-Jul-08 1:04 
AnswerRe: Deploying multiple projects Pin
Thomas Stockwell28-Jul-08 1:33
professionalThomas Stockwell28-Jul-08 1:33 
GeneralRe: Deploying multiple projects Pin
jamesjk28-Jul-08 1:54
jamesjk28-Jul-08 1:54 
GeneralRe: Deploying multiple projects Pin
Thomas Stockwell28-Jul-08 2:03
professionalThomas Stockwell28-Jul-08 2:03 
QuestionopenFileDialog win form Pin
arkiboys28-Jul-08 0:59
arkiboys28-Jul-08 0:59 
AnswerRe: openFileDialog win form Pin
stancrm28-Jul-08 1:05
stancrm28-Jul-08 1:05 

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.