cybton.com
Über uns | Jobs | Werbung | Sitemap | AGB | Impressum | Hilfe ?
 Kostenlos anmelden)
wichtigFortschritt der Entwicklung
Forum
Aktuellste Beiträge
Forenregeln

Community
BB-Codes
Tags
Chat
Suche (Web)
Wer ist online?
Top-User

Basar


Statistik
Mitglieder gesamt: 68691
Mitglieder online: 1
Gäste online: 1
mehr...

Anzeige
Forum » Forum: Off-Topic » Thread: Seiten welche die Welt nicht braucht

Thread: Seiten welche die Welt nicht braucht

Seite 5 von 5« Anfang2345

07.07.2009 10:52 Uhr

 

Status: offline
Vielleicht solltest du den Quellcode selbst kompilieren.

Schon witzig, dass Ein Banner mit Link zum Spielprogramm gesetzt ist.  :lol: 

Das tolle (für das Casino) ist, dass je länger man Glück (  :wink:  ) hat desto größer ist dann die Miese:
Ich kann nichts anhängen beim Editieren.

Zitat:

Schritt: 34894 Gewinn: 2 Konto: 17024
Schritt: 34895 Gewinn: 1 Konto: 17025
Schritt: 34896 Gewinn: 1 Konto: 17026
Schritt: 34897 Gewinn: 1 Konto: 17027
Schritt: 34898 Gewinn: 1 Konto: 17028
Schritt: 34899 Gewinn: 1 Konto: 17029
Schritt: 34900 Gewinn: 1 Konto: 17030
Schritt: 34901 Gewinn: 1 Konto: 17031
Schritt: 34902 Gewinn: -1 Konto: 17030
Schritt: 34903 Gewinn: 2 Konto: 17032
Schritt: 34904 Gewinn: 1 Konto: 17033
Schritt: 34905 Gewinn: -1 Konto: 17032
Schritt: 34906 Gewinn: 2 Konto: 17034
Schritt: 34907 Gewinn: -1 Konto: 17033
Schritt: 34908 Gewinn: -2 Konto: 17031
Schritt: 34909 Gewinn: 4 Konto: 17035
Schritt: 34910 Gewinn: -1 Konto: 17034
Schritt: 34911 Gewinn: -2 Konto: 17032
Schritt: 34912 Gewinn: 4 Konto: 17036
Schritt: 34913 Gewinn: -1 Konto: 17035
Schritt: 34914 Gewinn: -2 Konto: 17033
Schritt: 34915 Gewinn: 4 Konto: 17037
Schritt: 34916 Gewinn: -1 Konto: 17036
Schritt: 34917 Gewinn: 2 Konto: 17038
Schritt: 34918 Gewinn: 1 Konto: 17039
Schritt: 34919 Gewinn: 1 Konto: 17040
Schritt: 34920 Gewinn: 1 Konto: 17041
Schritt: 34921 Gewinn: -1 Konto: 17040
Schritt: 34922 Gewinn: -2 Konto: 17038
Schritt: 34923 Gewinn: -4 Konto: 17034
Schritt: 34924 Gewinn: 8 Konto: 17042
Schritt: 34925 Gewinn: -1 Konto: 17041
Schritt: 34926 Gewinn: -2 Konto: 17039
Schritt: 34927 Gewinn: 4 Konto: 17043
Schritt: 34928 Gewinn: 1 Konto: 17044
Schritt: 34929 Gewinn: -1 Konto: 17043
Schritt: 34930 Gewinn: 2 Konto: 17045
Schritt: 34931 Gewinn: 1 Konto: 17046
Schritt: 34932 Gewinn: 1 Konto: 17047
Schritt: 34933 Gewinn: -1 Konto: 17046
Schritt: 34934 Gewinn: -2 Konto: 17044
Schritt: 34935 Gewinn: 4 Konto: 17048
Schritt: 34936 Gewinn: 1 Konto: 17049
Schritt: 34937 Gewinn: 1 Konto: 17050
Schritt: 34938 Gewinn: 1 Konto: 17051
Schritt: 34939 Gewinn: -1 Konto: 17050
Schritt: 34940 Gewinn: 2 Konto: 17052
Schritt: 34941 Gewinn: -1 Konto: 17051
Schritt: 34942 Gewinn: -2 Konto: 17049
Schritt: 34943 Gewinn: -4 Konto: 17045
Schritt: 34944 Gewinn: -8 Konto: 17037
Schritt: 34945 Gewinn: -16 Konto: 17021
Schritt: 34946 Gewinn: -32 Konto: 16989
Schritt: 34947 Gewinn: -64 Konto: 16925
Schritt: 34948 Gewinn: 128 Konto: 17053
Schritt: 34949 Gewinn: 1 Konto: 17054
Schritt: 34950 Gewinn: -1 Konto: 17053
Schritt: 34951 Gewinn: -2 Konto: 17051
Schritt: 34952 Gewinn: 4 Konto: 17055
Schritt: 34953 Gewinn: -1 Konto: 17054
Schritt: 34954 Gewinn: -2 Konto: 17052
Schritt: 34955 Gewinn: 4 Konto: 17056
Schritt: 34956 Gewinn: -1 Konto: 17055
Schritt: 34957 Gewinn: 2 Konto: 17057
Schritt: 34958 Gewinn: -1 Konto: 17056
Schritt: 34959 Gewinn: -2 Konto: 17054
Schritt: 34960 Gewinn: -4 Konto: 17050
Schritt: 34961 Gewinn: 8 Konto: 17058
Schritt: 34962 Gewinn: 1 Konto: 17059
Schritt: 34963 Gewinn: -1 Konto: 17058
Schritt: 34964 Gewinn: -2 Konto: 17056
Schritt: 34965 Gewinn: -4 Konto: 17052
Schritt: 34966 Gewinn: 8 Konto: 17060
Schritt: 34967 Gewinn: 1 Konto: 17061
Schritt: 34968 Gewinn: -1 Konto: 17060
Schritt: 34969 Gewinn: -2 Konto: 17058
Schritt: 34970 Gewinn: -4 Konto: 17054
Schritt: 34971 Gewinn: -8 Konto: 17046
Schritt: 34972 Gewinn: 16 Konto: 17062
Schritt: 34973 Gewinn: -1 Konto: 17061
Schritt: 34974 Gewinn: 2 Konto: 17063
Schritt: 34975 Gewinn: 1 Konto: 17064
Schritt: 34976 Gewinn: 1 Konto: 17065
Schritt: 34977 Gewinn: 1 Konto: 17066
Schritt: 34978 Gewinn: -1 Konto: 17065
Schritt: 34979 Gewinn: 2 Konto: 17067
Schritt: 34980 Gewinn: 1 Konto: 17068
Schritt: 34981 Gewinn: 1 Konto: 17069
Schritt: 34982 Gewinn: 1 Konto: 17070
Schritt: 34983 Gewinn: -1 Konto: 17069
Schritt: 34984 Gewinn: 2 Konto: 17071
Schritt: 34985 Gewinn: 1 Konto: 17072
Schritt: 34986 Gewinn: 1 Konto: 17073
Schritt: 34987 Gewinn: 1 Konto: 17074
Schritt: 34988 Gewinn: -1 Konto: 17073
Schritt: 34989 Gewinn: -2 Konto: 17071
Schritt: 34990 Gewinn: 4 Konto: 17075
Schritt: 34991 Gewinn: 1 Konto: 17076
Schritt: 34992 Gewinn: -1 Konto: 17075
Schritt: 34993 Gewinn: 2 Konto: 17077
Schritt: 34994 Gewinn: 1 Konto: 17078
Schritt: 34995 Gewinn: 1 Konto: 17079
Schritt: 34996 Gewinn: -1 Konto: 17078
Schritt: 34997 Gewinn: 2 Konto: 17080
Schritt: 34998 Gewinn: -1 Konto: 17079
Schritt: 34999 Gewinn: 2 Konto: 17081
Schritt: 35000 Gewinn: 1 Konto: 17082
Schritt: 35001 Gewinn: 1 Konto: 17083
Schritt: 35002 Gewinn: -1 Konto: 17082
Schritt: 35003 Gewinn: -2 Konto: 17080
Schritt: 35004 Gewinn: -4 Konto: 17076
Schritt: 35005 Gewinn: 8 Konto: 17084
Schritt: 35006 Gewinn: -1 Konto: 17083
Schritt: 35007 Gewinn: -2 Konto: 17081
Schritt: 35008 Gewinn: -4 Konto: 17077
Schritt: 35009 Gewinn: 8 Konto: 17085
Schritt: 35010 Gewinn: 1 Konto: 17086
Schritt: 35011 Gewinn: -1 Konto: 17085
Schritt: 35012 Gewinn: 2 Konto: 17087
Schritt: 35013 Gewinn: 1 Konto: 17088
Schritt: 35014 Gewinn: 1 Konto: 17089
Schritt: 35015 Gewinn: 1 Konto: 17090
Schritt: 35016 Gewinn: -1 Konto: 17089
Schritt: 35017 Gewinn: -2 Konto: 17087
Schritt: 35018 Gewinn: -4 Konto: 17083
Schritt: 35019 Gewinn: 8 Konto: 17091
Schritt: 35020 Gewinn: -1 Konto: 17090
Schritt: 35021 Gewinn: 2 Konto: 17092
Schritt: 35022 Gewinn: -1 Konto: 17091
Schritt: 35023 Gewinn: -2 Konto: 17089
Schritt: 35024 Gewinn: -4 Konto: 17085
Schritt: 35025 Gewinn: 8 Konto: 17093
Schritt: 35026 Gewinn: -1 Konto: 17092
Schritt: 35027 Gewinn: 2 Konto: 17094
Schritt: 35028 Gewinn: 1 Konto: 17095
Schritt: 35029 Gewinn: -1 Konto: 17094
Schritt: 35030 Gewinn: 2 Konto: 17096
Schritt: 35031 Gewinn: -1 Konto: 17095
Schritt: 35032 Gewinn: -2 Konto: 17093
Schritt: 35033 Gewinn: 4 Konto: 17097
Schritt: 35034 Gewinn: -1 Konto: 17096
Schritt: 35035 Gewinn: -2 Konto: 17094
Schritt: 35036 Gewinn: -4 Konto: 17090
Schritt: 35037 Gewinn: 8 Konto: 17098
Schritt: 35038 Gewinn: 1 Konto: 17099
Schritt: 35039 Gewinn: -1 Konto: 17098
Schritt: 35040 Gewinn: 2 Konto: 17100
Schritt: 35041 Gewinn: 1 Konto: 17101
Schritt: 35042 Gewinn: -1 Konto: 17100
Schritt: 35043 Gewinn: 2 Konto: 17102
Schritt: 35044 Gewinn: 1 Konto: 17103
Schritt: 35045 Gewinn: 1 Konto: 17104
Schritt: 35046 Gewinn: -1 Konto: 17103
Schritt: 35047 Gewinn: 2 Konto: 17105
Schritt: 35048 Gewinn: 1 Konto: 17106
Schritt: 35049 Gewinn: 1 Konto: 17107
Schritt: 35050 Gewinn: 1 Konto: 17108
Schritt: 35051 Gewinn: 1 Konto: 17109
Schritt: 35052 Gewinn: -1 Konto: 17108
Schritt: 35053 Gewinn: 2 Konto: 17110
Schritt: 35054 Gewinn: 1 Konto: 17111
Schritt: 35055 Gewinn: 1 Konto: 17112
Schritt: 35056 Gewinn: 1 Konto: 17113
Schritt: 35057 Gewinn: -1 Konto: 17112
Schritt: 35058 Gewinn: 2 Konto: 17114
Schritt: 35059 Gewinn: -1 Konto: 17113
Schritt: 35060 Gewinn: -2 Konto: 17111
Schritt: 35061 Gewinn: -4 Konto: 17107
Schritt: 35062 Gewinn: 8 Konto: 17115
Schritt: 35063 Gewinn: 1 Konto: 17116
Schritt: 35064 Gewinn: -1 Konto: 17115
Schritt: 35065 Gewinn: 2 Konto: 17117
Schritt: 35066 Gewinn: 1 Konto: 17118
Schritt: 35067 Gewinn: -1 Konto: 17117
Schritt: 35068 Gewinn: -2 Konto: 17115
Schritt: 35069 Gewinn: -4 Konto: 17111
Schritt: 35070 Gewinn: 8 Konto: 17119
Schritt: 35071 Gewinn: -1 Konto: 17118
Schritt: 35072 Gewinn: -2 Konto: 17116
Schritt: 35073 Gewinn: -4 Konto: 17112
Schritt: 35074 Gewinn: 8 Konto: 17120
Schritt: 35075 Gewinn: -1 Konto: 17119
Schritt: 35076 Gewinn: 2 Konto: 17121
Schritt: 35077 Gewinn: 1 Konto: 17122
Schritt: 35078 Gewinn: 1 Konto: 17123
Schritt: 35079 Gewinn: -1 Konto: 17122
Schritt: 35080 Gewinn: -2 Konto: 17120
Schritt: 35081 Gewinn: 4 Konto: 17124
Schritt: 35082 Gewinn: -1 Konto: 17123
Schritt: 35083 Gewinn: 2 Konto: 17125
Schritt: 35084 Gewinn: 1 Konto: 17126
Schritt: 35085 Gewinn: 1 Konto: 17127
Schritt: 35086 Gewinn: 1 Konto: 17128
Schritt: 35087 Gewinn: 1 Konto: 17129
Schritt: 35088 Gewinn: 1 Konto: 17130
Schritt: 35089 Gewinn: -1 Konto: 17129
Schritt: 35090 Gewinn: -2 Konto: 17127
Schritt: 35091 Gewinn: 4 Konto: 17131
Schritt: 35092 Gewinn: -1 Konto: 17130
Schritt: 35093 Gewinn: -2 Konto: 17128
Schritt: 35094 Gewinn: -4 Konto: 17124
Schritt: 35095 Gewinn: -8 Konto: 17116
Schritt: 35096 Gewinn: -16 Konto: 17100
Schritt: 35097 Gewinn: -32 Konto: 17068
Schritt: 35098 Gewinn: 64 Konto: 17132
Schritt: 35099 Gewinn: 1 Konto: 17133
Schritt: 35100 Gewinn: -1 Konto: 17132
Schritt: 35101 Gewinn: 2 Konto: 17134
Schritt: 35102 Gewinn: -1 Konto: 17133
Schritt: 35103 Gewinn: -2 Konto: 17131
Schritt: 35104 Gewinn: 4 Konto: 17135
Schritt: 35105 Gewinn: 1 Konto: 17136
Schritt: 35106 Gewinn: -1 Konto: 17135
Schritt: 35107 Gewinn: 2 Konto: 17137
Schritt: 35108 Gewinn: -1 Konto: 17136
Schritt: 35109 Gewinn: -2 Konto: 17134
Schritt: 35110 Gewinn: -4 Konto: 17130
Schritt: 35111 Gewinn: 8 Konto: 17138
Schritt: 35112 Gewinn: -1 Konto: 17137
Schritt: 35113 Gewinn: -2 Konto: 17135
Schritt: 35114 Gewinn: 4 Konto: 17139
Schritt: 35115 Gewinn: 1 Konto: 17140
Schritt: 35116 Gewinn: 1 Konto: 17141
Schritt: 35117 Gewinn: -1 Konto: 17140
Schritt: 35118 Gewinn: -2 Konto: 17138
Schritt: 35119 Gewinn: 4 Konto: 17142
Schritt: 35120 Gewinn: 1 Konto: 17143
Schritt: 35121 Gewinn: 1 Konto: 17144
Schritt: 35122 Gewinn: -1 Konto: 17143
Schritt: 35123 Gewinn: -2 Konto: 17141
Schritt: 35124 Gewinn: 4 Konto: 17145
Schritt: 35125 Gewinn: 1 Konto: 17146
Schritt: 35126 Gewinn: -1 Konto: 17145
Schritt: 35127 Gewinn: 2 Konto: 17147
Schritt: 35128 Gewinn: -1 Konto: 17146
Schritt: 35129 Gewinn: 2 Konto: 17148
Schritt: 35130 Gewinn: -1 Konto: 17147
Schritt: 35131 Gewinn: 2 Konto: 17149
Schritt: 35132 Gewinn: 1 Konto: 17150
Schritt: 35133 Gewinn: 1 Konto: 17151
Schritt: 35134 Gewinn: 1 Konto: 17152
Schritt: 35135 Gewinn: -1 Konto: 17151
Schritt: 35136 Gewinn: 2 Konto: 17153
Schritt: 35137 Gewinn: -1 Konto: 17152
Schritt: 35138 Gewinn: -2 Konto: 17150
Schritt: 35139 Gewinn: -4 Konto: 17146
Schritt: 35140 Gewinn: 8 Konto: 17154
Schritt: 35141 Gewinn: 1 Konto: 17155
Schritt: 35142 Gewinn: 1 Konto: 17156
Schritt: 35143 Gewinn: -1 Konto: 17155
Schritt: 35144 Gewinn: 2 Konto: 17157
Schritt: 35145 Gewinn: -1 Konto: 17156
Schritt: 35146 Gewinn: 2 Konto: 17158
Schritt: 35147 Gewinn: 1 Konto: 17159
Schritt: 35148 Gewinn: -1 Konto: 17158
Schritt: 35149 Gewinn: 2 Konto: 17160
Schritt: 35150 Gewinn: 1 Konto: 17161
Schritt: 35151 Gewinn: 1 Konto: 17162
Schritt: 35152 Gewinn: 1 Konto: 17163
Schritt: 35153 Gewinn: 1 Konto: 17164
Schritt: 35154 Gewinn: -1 Konto: 17163
Schritt: 35155 Gewinn: -2 Konto: 17161
Schritt: 35156 Gewinn: 4 Konto: 17165
Schritt: 35157 Gewinn: 1 Konto: 17166
Schritt: 35158 Gewinn: -1 Konto: 17165
Schritt: 35159 Gewinn: -2 Konto: 17163
Schritt: 35160 Gewinn: -4 Konto: 17159
Schritt: 35161 Gewinn: 8 Konto: 17167
Schritt: 35162 Gewinn: 1 Konto: 17168
Schritt: 35163 Gewinn: -1 Konto: 17167
Schritt: 35164 Gewinn: -2 Konto: 17165
Schritt: 35165 Gewinn: 4 Konto: 17169
Schritt: 35166 Gewinn: 1 Konto: 17170
Schritt: 35167 Gewinn: 1 Konto: 17171
Schritt: 35168 Gewinn: 1 Konto: 17172
Schritt: 35169 Gewinn: 1 Konto: 17173
Schritt: 35170 Gewinn: 1 Konto: 17174
Schritt: 35171 Gewinn: 1 Konto: 17175
Schritt: 35172 Gewinn: -1 Konto: 17174
Schritt: 35173 Gewinn: -2 Konto: 17172
Schritt: 35174 Gewinn: -4 Konto: 17168
Schritt: 35175 Gewinn: 8 Konto: 17176
Schritt: 35176 Gewinn: 1 Konto: 17177
Schritt: 35177 Gewinn: -1 Konto: 17176
Schritt: 35178 Gewinn: -2 Konto: 17174
Schritt: 35179 Gewinn: -4 Konto: 17170
Schritt: 35180 Gewinn: -8 Konto: 17162
Schritt: 35181 Gewinn: -16 Konto: 17146
Schritt: 35182 Gewinn: -32 Konto: 17114
Schritt: 35183 Gewinn: -64 Konto: 17050
Schritt: 35184 Gewinn: -128 Konto: 16922
Schritt: 35185 Gewinn: -256 Konto: 16666
Schritt: 35186 Gewinn: -512 Konto: 16154
Schritt: 35187 Gewinn: -1024 Konto: 15130
Schritt: 35188 Gewinn: -2048 Konto: 13082
Schritt: 35189 Gewinn: -4096 Konto: 8986

alles verloren
Miese: -5350
Drücken Sie eine beliebige Taste . . .
 :lol: 

Ich hab Angst das Ergebnis der Simulation an comment-gagner@hotmail.fr zu sende. Letzten Ende ist es auch ein Spamverteiler  :shocked: 
1 Datei angehängt
1 mal bearbeitet
___________________________
<?php
if( $nickname === "wischoo"){
auf_die_Finger_hauen('Rasenkantenstein'); $nickname = "wieschoo"; } ?> http://www.wieschoo.com
07.07.2009 11:13 Uhr

 

Status: offline
Du verwendest in deiner Simulation gar nicht, das System von der Seite. Und Warum sollte es nicht funktionieren. Ist doch logisch.
setzte 1 verliere 1 konto -1
setzte 2 verliere 2 konto -3
setzte 4 gewinn 8 konto +1
07.07.2009 11:15 Uhr

 

Status: offline
Gut aufgepasst:
+ PHP:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
//---------------------------------------------------------------------------
 
#pragma hdrstop
 
//---------------------------------------------------------------------------
 
#include <iostream>
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
using namespace std;
 
#define SCHWARZ 159
#define ROT 158
#define GRUEN 157
 
// prinf()
//---------------------------------------------------------------------------
 
int user_input;
int result;
int user_balance;
int einsatz;
int gewinn;
int konto;
 
 
int play(){
     // zufall generieren
     int zahl;
     zahl = rand()%37+0;
     //return zahl;
     if(zahl == 0){
         return GRUEN;
     }
     if(((zahl %2) == 0) && (zahl != 0)){
         // Zahl ist gerade
         return ROT;
     }else{
        // Zahl ist ungerade
        return SCHWARZ;
     }
}
 
 
#pragma argsused
int main(int argc, char* argv[])
{
        srand((unsigned)time(NULL));
        user_balance = 0;
        konto = 2048;
        int einsatz_init = 1;
        einsatz = einsatz_init;
 
        user_input = ROT;
 
        for(int i = 0;i<75200;i++){
            result = play();
            if(result == user_input){
                //printf("gewonnen\n");
 
                if(user_input == ROT){
                user_input = SCHWARZ;}else{user_input = ROT;}
                
                gewinn  =       (einsatz *2) - einsatz;
                einsatz =       einsatz_init;
 
 
 
            }else{
                //printf("verloren\n");
                if(user_input == ROT){
                user_input = SCHWARZ;}else{user_input = ROT;}
                gewinn  =       0 - einsatz;
                einsatz =       einsatz *2;
                if( einsatz > konto){
                        cout <<endl << "alles verloren" <<endl << "Miese: " << (konto - einsatz) << endl;
                        system("PAUSE");
                        return 0;
                }
 
            }
            if ((gewinn > 100) && (gewinn < 250)){
                       einsatz_init = 5;
            }
            if ((gewinn >= 250) && (gewinn < 500)){
                       einsatz_init = 10;
            }
            if (gewinn == 500){
                 cout <<endl << "aufhoeren" <<endl ;
                        system("PAUSE");
                        return 0;
            }
 
            user_balance = user_balance + gewinn;
            konto = konto + gewinn;
            cout << "Schritt: " << i << " Gewinn: " << gewinn << " Konto: " << user_balance << endl;
 
            
 
 
        }
        cout << user_balance;
        system("PAUSE");
        return 0;
}
//---------------------------------------------------------------------------
Da geht es noch schneller:
{Anhang}

@prettycode
Du setzt vorraus, dass du unbegrenztes Kapital hast. Aber dann bräuchtest du gar nicht spielen.
1 Datei angehängt
___________________________
<?php
if( $nickname === "wischoo"){
auf_die_Finger_hauen('Rasenkantenstein'); $nickname = "wieschoo"; } ?> http://www.wieschoo.com
07.07.2009 11:26 Uhr

 

Status: offline
Allerdings ist es trotzdem schwachsinn die Farbe zu wechseln, wenn man gewinnt oder verliert  :lol: 
___________________________
wantastisch.de - software und mähr
07.07.2009 12:48 Uhr

 

Status: offline
Zitat:
Allerdings ist es trotzdem schwachsinn die Farbe zu wechseln, wenn man gewinnt oder verliert  :lol: 

Stimmt aber nur sofern ein richtiger (guter) Zufallsgenerator verwendet wird. Jedoch wenn das ein spezieller oder schlechter Zufallsgenerator ist, dann kann sowas sehr wohl passieren. Ich meine wenn bei dem Zufallsgenerator wahrscheinlicher ist dass die andere Farbe kommt wenn vorher die eine Farbe dran war. Es kann ja gut sein dass er gefeuert wurde, womöglich ja weil er einen Zufallsgenerator programmiert hat der genau hierauf anfällig war und einige Leute so ne Menge Kohle gescheffelt haben...

Aber beim Roulette vergisst man einen ganz wichtigen Punkt, es gibt nicht nur Schwarz und Rot! Soweit ich weis ist der Erwartungswert aber bei jeglichen Methoden negativ, sofern das wirklich ein Zufall ist bei dem alle Fälle gleich wahrscheinlich sind!
07.07.2009 18:27 Uhr

 

Status: offline
So. Hab einen Simulator in PHP gemacht.
+ PHP:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
            Startkapital: 10000$<br />
            Einsatz: 5$<br />
            <?php
                  $geld = 1000;
                  $ureinsatz = 5;
                  $i = 0;
                  $einsatz = $ureinsatz;
                  $bet = 1;
                  while($geld > $ureinsatz || $i < 50) {
                        if($geld == 0) { break; }
                        if(rand(0,3) == 1) {
                              $color = 1;
                        } else {
                              $color = 2;
                        }
                        if ($color == 1 && $bet == 1) {
                              $geld = $geld + $einsatz;
                              $einsatz = $ureinsatz;
                              if($einsatz > $geld) { $einsatz = $geld; }
                              $bet = 2;
                              echo 'Gewonnen! Setze '.${einsatz}.'$ auf '.$bet.'<br /><hr />';
                        }
                        elseif ($color == 1 && $bet == 2) {
                                    $geld = $geld - $einsatz;
                                    $einsatz = $einsatz*2;
                                    if($einsatz > $geld) { $einsatz = $geld; }
                                    echo 'Verloren! Setze '.${einsatz}.'$ auf '.$bet.'<br /><hr />';
                        }
                        elseif ($color == 2 && $bet == 1) {
                                    $geld = $geld - $einsatz;
                                    $einsatz = $einsatz*2;
                                    if($einsatz > $geld) { $einsatz = $geld; }
                                    echo 'Verloren! Setze '.${einsatz}.'$ auf '.$bet.'<br /><hr />';
                        }
                        elseif($color == 2 && $bet == 2) {
                                    $geld = $geld + $einsatz;
                                    $einsatz = $ureinsatz;
                                    if($einsatz > $geld) { $einsatz = $geld; }
                                    $bet = 1;
                                    echo 'Gewonnen! Setze '.${einsatz}.'$ auf '.$bet.'<br /><hr />';
                        }
 
                        echo "Kapital: $geld\$<br />";
                        echo "Einsatz: $einsatz\$<br />";
                        
                        $i++;
                  }
            ?>
user-pic
man verliert immer.
___________________________
- YOUR AD HERE -
07.07.2009 19:18 Uhr

 

Status: offline
So auf den ersten Blick würde ich sagen, das was du machst ist Blödsinn!
PHP:
1
2
3
4
5
                        if(rand(0,3) == 1) {
                              $color = 1;
                        } else {
                              $color = 2;
                        }
Damit hast du eine 1 zu 4 Chance aber das müsste doch eine 1 zu 2 Chance sein (und selbst das passt nicht wegen dem weder schwarzen noch roten Feld), also so:
PHP:
1
$color = rand(1, 2);
Außerdem wie ich bereits schrieb hängt es von der Funktionsweise des Zufallsgenerators ab, so dass wenn es überhaupt funktioniert nicht allgemeingültig sein kann!

Und ich denke dass Casinos mit Sicherheit einen entweder eigenen deterministischen Zufallsgenerator programmieren oder aber mit irgendwelchen speziellen physikalischen Eigenschaften versuchen einen vernünftigen nicht deterministischen (auf Chaostheoriebasierenden) Zufallsgenerator zu erzeugen. Der Standardzufallsgenerator diverser Programmiersprachen ist meist ein relativ schlechter und simpler deterministischer Zufallsgenerator und wird nicht mal in wissenschaftlichen Berechnungen genutzt! Da eine Eigenentwicklung aber nicht unbedingt immer besser ist, kann es passieren dass solche Schwächen in den Zufallsgenerator reinkommen, besonders wenn z.B. viel mit der Modulofunktion rumgemacht wurde. z.B. mit mod 2.

Außerdem wenn man die Initialisierung des Zufallsgenerators bestimmen kann, den verwendeten Zufallsgenerator kennt, dann kann man problemlos vorhersagen was als nächstes kommt, nun gut das ist nicht ganz so einfach wie es sich gerade ließt.

Außerdem denke ich dass das langsam genug Off-Topic war.
2 mal bearbeitet
09.07.2009 18:07 Uhr

 

Status: offline
Mein Skript sollte 50 mal durchlaufen. Ca. jedes 2 zweite mal habe ich zwischendurch ca. 29000 (bei 1000 angefangen). Das Endet dann oft in 6000 - 9000. Scheint irgendwie doch gar nicht so blöd zu sein.

PS: Mit korrigiertem Skript ;)
___________________________
- YOUR AD HERE -
09.07.2009 18:07 Uhr

 

Status: offline
Mein Skript sollte 50 mal durchlaufen. Ca. jedes 2 zweite mal habe ich zwischendurch ca. 29000 (bei 1000 angefangen). Das Endet dann oft in 6000 - 9000. Scheint irgendwie doch gar nicht so blöd zu sein.

PS: Mit korrigiertem Skript ;)
Zitat:
Kapital: 21505$
Einsatz: 320$
Verloren! Setze 640$ auf 2
Kapital: 21185$
Einsatz: 640$
Verloren! Setze 1280$ auf 2
Kapital: 20545$
Einsatz: 1280$
Verloren! Setze 2560$ auf 2
Kapital: 19265$
Einsatz: 2560$
Verloren! Setze 5120$ auf 2
Kapital: 16705$
Einsatz: 5120$
Verloren! Setze 10240$ auf 2
Kapital: 11585$
Einsatz: 10240$
___________________________
- YOUR AD HERE -
09.07.2009 20:00 Uhr

 

Status: online
Du kannst es ja im richtigen Casino versuchen. Statistisch gesehen, gewinnt die Bank immer, weil es ja das grüne Feld gibt (falls ich das richtig verstanden habe) Aber sag bescheid, wenn die dein Cybton-Konto pfänden  :lol: 
___________________________
The only thing necessary for the triumph of evil is for good men to do nothing.
Edmund Burke
http://www.thurman.de http://www.jmirus.de/uma
Seite 5 von 5« Anfang2345
Ähnliche Threads Forum Ähnlichkeitsgrad
 Meine Homepage Das Promotion-Board 1
 Links aus fremder Webseite mit PHP auslesen Website & Webprogrammierung 1
 Werbeanbieter gesucht Internet 1
 Webseiten zusammenschneider Software & Betriebssysteme 1
 Ip-Adresse von Webseite sperren Website & Webprogrammierung 1
 Webseite mit russischen Schriftzeichen Website & Webprogrammierung 1
 Webseiten Entwicklungswerkzeug Sammelliste Website & Webprogrammierung 1
nach obennach oben

Copyright © 2010 cybton-network

Google
Partner: #Musik - Dein Internetradio - nexem. - .wir machen news - s.Oliver Onlineshop für Schuhe
ANEXIA - PHP Entwicklung - Dockers- Think Schuhe - der eigene Weg - Paul Green Damenschuhe - Bequeme Geox Schuhe - Web-Entwicklung - Fritz!Box Anrufmonitor für Mac OS - Rolladen, Markisen und Jalousien in Stuttgart - Rolladen in Stuttgart - SMSjobs