Autor Beitrag
LorenzS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 128

MS-DOS, WIN 7, WIN 10
BP7.0, D3, D5
BeitragVerfasst: Sa 22.12.07 14:03 
ich dachte sie ziehen nacheinander die karten
Satego Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

Vista

BeitragVerfasst: Sa 22.12.07 14:09 
nein, der Spieler kann solange neue Karten verlangen bis er hold sagt oder die Gesamtsumme 21
überschritten hat.

_________________
motivierter Anfänger ;)
LorenzS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 128

MS-DOS, WIN 7, WIN 10
BP7.0, D3, D5
BeitragVerfasst: Sa 22.12.07 15:11 
Ich habe mal ne Kleine spielbare version zusammen gebastelt.
Sie entspricht nocht nicht ganz dem Black Jack Regelwerk.
es sind doch noch 278 Zielen geworden. die auswertung wer nun gewonnen hat war das schwriegste.
Einloggen, um Attachments anzusehen!
Satego Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

Vista

BeitragVerfasst: Sa 22.12.07 15:33 
Danke, aber wie hast du das gemacht das der Button dan deaktiviert ist?
etwa mit CheckButtons; ?

_________________
motivierter Anfänger ;)
LorenzS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 128

MS-DOS, WIN 7, WIN 10
BP7.0, D3, D5
BeitragVerfasst: Sa 22.12.07 15:37 
in CheckButtons ist die ganze Auswertung für wer hat gewonn und welche buttons sind noch aktive
"Button.enabled" true=(ist benutzbar) false=(nicht nutzbar)
Satego Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

Vista

BeitragVerfasst: Sa 22.12.07 15:52 
hab was übersehen, die 2. Karte des Computers darf nicht sichtbar sein.
Wenn ich diese auf visible false setze und dahinter eine verdeckte karte setze dan geht das
irgendwie nicht.. hmhm

_________________
motivierter Anfänger ;)
LorenzS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 128

MS-DOS, WIN 7, WIN 10
BP7.0, D3, D5
BeitragVerfasst: Sa 22.12.07 15:55 
unsichtbar und verdeck, gleichzeitig?
Satego Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

Vista

BeitragVerfasst: Sa 22.12.07 16:03 
ja das die zweite karte verdeckt dargestellt wird.
Ich würde sagen, das die zweite karte der computer erst bekommt wen er dran ist.
Statt der ist einfach das bild einer verdeckten karte da.

_________________
motivierter Anfänger ;)
LorenzS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 128

MS-DOS, WIN 7, WIN 10
BP7.0, D3, D5
BeitragVerfasst: Sa 22.12.07 16:14 
so?
Einloggen, um Attachments anzusehen!
Satego Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

Vista

BeitragVerfasst: Sa 22.12.07 16:19 
jap genau so. welcher lösch button?

_________________
motivierter Anfänger ;)
LorenzS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 128

MS-DOS, WIN 7, WIN 10
BP7.0, D3, D5
BeitragVerfasst: Sa 22.12.07 16:27 
---
Einloggen, um Attachments anzusehen!
Satego Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

Vista

BeitragVerfasst: Sa 22.12.07 16:34 
jap genau so :zustimm:

_________________
motivierter Anfänger ;)
Satego Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

Vista

BeitragVerfasst: Sa 22.12.07 17:03 
eine frage hätt ich da noch:

wie weiß der computer wo das bild ist?
1:Bild3.picture.loadfromfile(format('Kartensatz\he%d.jpg',[karte3]));

_________________
motivierter Anfänger ;)
LorenzS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 128

MS-DOS, WIN 7, WIN 10
BP7.0, D3, D5
BeitragVerfasst: Sa 22.12.07 17:09 
meinst du den relativen pfad "Kartensatz" ? Von der position aus, aus der die exe gestatet wurde.
Satego Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

Vista

BeitragVerfasst: Sa 22.12.07 17:17 
Ich meine wen man den Pfad eingibt: C\.....hallo.jpg ist klar das
er die datei findet aba wen man keinen Pfad eingibt, wie findet
er dan die datei?

_________________
motivierter Anfänger ;)
LorenzS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 128

MS-DOS, WIN 7, WIN 10
BP7.0, D3, D5
BeitragVerfasst: Sa 22.12.07 17:22 
was du meinst ist ein absoluter pfad (der komplette pfad)

ein Relativer pfad geht von dem punkt aus, aus dem das programm gestartet wurde.

zB. das programm ist in "c:\Programme\BlackJack\Game.exe" und die bild daten in
"c:\Programme\BlackJack\Kartensatz\" . vom programm aus ist dann der Relative zu den bildern ist nur "Kartensatz\" .
Und C:\ wäre Relative zum programm "..\..\" (zweit unterverzeichnisse zurück)

Relative adressen sieht man auch oft bei internetseiten (URL's/Links)