othello
所属分类:Pascal/Delphi编程
开发工具:Delphi
文件大小:179KB
下载次数:1
上传日期:2015-04-13 20:56:47
上 传 者:
Brinq
说明: Voici mon premier code source !
C est un jeux d othello (reversi) écrit en Delphi.
Ce n est pas un composant graphique mais un composant qui joue via des événements Perso facilement configurable depuis l IDE
Les événements sont déclenchés pour chaque case de l échiquier (othellier) et pour la couleur correspondante.
Il fournit donc avant tout la logique de jeu nécessaire - pas la partie graphique qui peut être complètement perso (WinControl comme dans l exemple fournit, FMX, OpenGL, ...??)
Pour l instant, il n y a pas d AI .. je ne connais pas (encore ?) ce genre d algo ...
文件列表:
Othello (0, 2013-08-11)
Othello\Capture.JPG (40909, 2013-08-11)
Othello\Othello_Unit.pas (27102, 2013-08-11)
Othello\Othello Test (0, 2013-08-11)
Othello\Othello Test\Test_Othello.dpr (345, 2013-08-11)
Othello\Othello Test\Test_Othello.dproj (8590, 2013-08-11)
Othello\Othello Test\Test_Othello.dproj.local (1965, 2013-08-11)
Othello\Othello Test\Test_Othello.dres (24864, 2013-08-11)
Othello\Othello Test\Test_Othello.identcache (149, 2013-08-11)
Othello\Othello Test\Test_Othello.mes (6999, 2013-08-11)
Othello\Othello Test\Test_Othello.res (298600, 2013-08-11)
Othello\Othello Test\Test_OthelloResource.rc (149, 2013-08-11)
Othello\Othello Test\Unit1.dfm (3101, 2013-08-11)
Othello\Othello Test\Unit1.pas (8684, 2013-08-11)
Othello\Othello Test\Unit2.dfm (2872, 2013-08-11)
Othello\Othello Test\Images (0, 2013-08-11)
Othello\Othello Test\Images\Blanc.bmp (6174, 2013-08-11)
Othello\Othello Test\Images\Noir.bmp (6174, 2013-08-11)
Othello\Othello Test\Images\Possible.bmp (6174, 2013-08-11)
Othello\Othello Test\Images\Vide.bmp (6174, 2013-08-11)
Othello\Othello Test\__history (0, 2013-08-11)
Othello\Othello Test\__history\Test_Othello.dpr.~1~ (238, 2013-08-11)
Othello\Othello Test\__history\Test_Othello.dpr.~2~ (238, 2013-08-11)
Othello\Othello Test\__history\Test_Othello.dpr.~3~ (253, 2013-08-11)
Othello\Othello Test\__history\Test_Othello.dpr.~4~ (345, 2013-08-11)
Othello\Othello Test\__history\Test_Othello.dpr.~5~ (345, 2013-08-11)
Othello\Othello Test\__history\Unit1.dfm.~1~ (2872, 2013-08-11)
Othello\Othello Test\__history\Unit1.dfm.~2~ (2888, 2013-08-11)
Othello\Othello Test\__history\Unit1.dfm.~3~ (2888, 2013-08-11)
Othello\Othello Test\__history\Unit1.pas.~10~ (8328, 2013-08-11)
Othello\Othello Test\__history\Unit1.pas.~11~ (8328, 2013-08-11)
Othello\Othello Test\__history\Unit1.pas.~12~ (8304, 2013-08-11)
Othello\Othello Test\__history\Unit1.pas.~13~ (8300, 2013-08-11)
Othello\Othello Test\__history\Unit1.pas.~14~ (8688, 2013-08-11)
Othello\Othello Test\__history\Unit1.pas.~15~ (8686, 2013-08-11)
Othello\Othello Test\__history\Unit1.pas.~6~ (7824, 2013-08-11)
Othello\Othello Test\__history\Unit1.pas.~7~ (7822, 2013-08-11)
Othello\Othello Test\__history\Unit1.pas.~8~ (7922, 2013-08-11)
Othello\Othello Test\__history\Unit1.pas.~9~ (7924, 2013-08-11)
Othello\Othello Test\__history\Unit2.dfm.~34~ (2701, 2013-08-11)
... ...
Jeux d' othello---------------
Url : http://codes-sources.commentcamarche.net/source/54614-jeux-d-othelloAuteur : fredbluefishDate : 11/08/2013
Licence :
=========
Ce document intitulé Jeux d' othello issu de CommentCaMarche
(codes-sources.commentcamarche.net) est mis à disposition sous les termes de
la licence Creative Commons. Vous pouvez copier, modifier des copies de cette
source, dans les conditions fixées par la licence, tant que cette note
apparat clairement.
Description :
=============
Voici mon premier code source !
C' est un jeux d' othello (reversi) &eacu
te;crit en Delphi.
Ce n' est pas un composant graphique mais un composant
qui joue via des événements Perso facilement configurable depuis
l' IDE
Les événements sont déclenchés pour ch
aque case de l' échiquier (othellier) et pour la couleur correspondante.
Il fournit donc avant tout la logique de jeu nécessaire -
pas la partie graphique qui peut être complètement perso (WinContro
l comme dans l' exemple fournit, FMX, OpenGL, ...??)
Pour l' inst
ant, il n' y a pas d' AI .. je ne connais pas (encore ?) ce genre d' algo ...
<
br />
Source / Exemple :
Installer l' unité jointe en tant que composant da
ns la Palette d' outil de Delphi
Le composant se retrouve dans l' onglet "
Othello"
Je joins un exemple d' utilisation qui permet de jouer directem
ent le jeux à deux joueurs
Une procedure pour jouer au pif est accessible mais
pas utilisée ici
L' exemple reste volontairement minimaliste, mais fonctionnel.
Les sources sont largement commentées - autant pour l' exemple fournit.
L
' algorithmique est de mon propre crue, je ne sais pas ce que cela vaut "en
vrai" ....
Conclusion :
Merci de me laisser un message pour toute suggestion constructive
Je suis simplement hobbyiste !
Bon amusement !
近期下载者:
相关文件:
收藏者: