Soft development for DGL PRO mother boardProiectarea softului la placa de bază DGL PRO

miercuri, 23 mai 2012

The soft and of course soft development of a game machine with wining is really important. In this episode we will start a thorough knowledge process of the components composing a professional and reliable soft, as the one from DGL PRO Company. The soft is the result of long years of thoroughness and implementation of the activity in the field.

Reliable operation. Soft development begins with the reliable and bug free operation.  It is not allowed to have error messages, if possible. In other words the game must be as least as reliable as an electronic cash register!

Also, it is very important to keep the secret of accountability information. Firstly, the system must remember in-out, accountabilities, and statistics, etc., which usually are different applications.  Many start with a beautiful picture and create a game soft, this is a mistake. This is no good. The player is interested also in money safety; he must always feel that he constantly learns something new from the game. In other words, he should not feel that he starts from zero whenever he changes location. So in a way we must offer the gambler a game familiarity doubled by interconnectivity and continue invention of the game.

The operation system. It is owned by and the property of our company, DGL PRO.

Bios. It makes the primordial connection between soft and mother board (hard). The Bios functions are: keyboard and display connection, mechanical contacts, bulb and audio connection, the connection with the acceptors – payer devices, and then external connections: internet connections, jackpot, etc. The more sophisticated boards can centralize and send accountable information, even by GSM, GPRS, etc.

Math library. It calculates percents, accountabilities, etc.

We own a general internal register divided in two: total bet and total win.  The difference between the two represents the brut gaining of the machine. This can be all “withdrawn” or divided. For example: a part of this gaining can be directed to the jackpot system – which usually is a progressive system and receives some percentages of the total, and is given when someone has a straight formation.

Usually, the minimal percentage is shown by the WIN/BET report and cannot decrease below 70%.

Why is that? Because if you go below this percent, people will not play anymore, the game becomes uninteresting and unattractive. The maximum percentage can go up to 98%. Therefore this is the bargain to witch you can adjust your machine to; practically you adjust your bargain between 70% and 98%. Most of the players come to play for the “surprises” and not for average winning which is uninteresting.

The natural percent. This is calculated depending on the formation draw. For example, a “7” appears once on a ten figurines on the coil. So the seven probabilities are of 1/10. The probability for 2 coils will be 1/10 x 1/10 = 1/100. Therefore, the probability for 2 sevens is 1/100. The same principal applies for 3 coils, so the probability for 3 sevens is one of 1/1000. The calculation is also the same for the other figurines existent on the coil. In consequence, depending on the coils rolling we obtain a percentage which represents the natural percentage of the game, for example 98%.

Usually, a rolled coil has between 20 and 45 figurines. There are games with 3 or 5 coils. The ones with 3 coils have 5 winning lines, and the games with 5 coils have over 20 winning lines (stakes).

Besides that, several special games are created in order to make the game more attractive. For this type of games the figurines of the coil are fewer, but better paid. The special games (so called “no stake”) are not paid. For example you get any formation, and the game grants you that the following 5 games are free. (so called freegame).

The special funds represent maximum 25% of the cashing. The real percentage is decreased from 98% to 90% and the rest is divided to jackpots, specials, progressive winnings.

The game strategy, in this case the soft of the game, is chosen depending on the above.

For the card games like electronic poker we have tables of winnings depending on the stake, credit and stake. Here, the winnings given are between 80-98%. Poker is not as interesting as the coils, graphic related, but here we encounter a different type of players. The winning of the operator depends in this case on the run; we practically speak of a game set on several machines.

The generator of random numbers. This refers in fact to the cards dealer or coil stirrer and represents a basic software component. How does it work? First you put a “seed” than a counting that keeps stirring that seed and in this way, every time we obtain a random raw of numbers. The soft has several “breaks” that stop the game from releasing more than a percentage value unless it has accumulated a set value, in this way the game remains profitable.

Competent software, as ours, is also endowed with a secondary random numbers generator (extern) that does not rely on the same processor. Generally, the software is predictable, thus it is better to have the main soft on processor 1 and the secondary soft on processor 2.

In conclusion, we have the main soft which consists of 3 basic components – Bios, Mathematics, Accountability & Statistics, than is the Video & Audio part, lights and bulbs part representing the Aspect, Keyboard and Acceptors & Money paying devices.

Video, Audio, Aspect, Acceptors, Keyboard. The video soft is correlated with the hard part and can process the image for CGA monitors (320 x 240 pixels) – so called old displays, and recently VGA (640 x 480 pixels), SVGA, than there are the televisions with 2 screens,  3 screens, etc.

The soft for video processing has to be as fast as possible, with no interruptions, blanks, freezing. The video design should not be very complicated; too much animation confuses the player.

Software protection. Most of the software is protected and ultra protected. One can not read a memory and not anyone can get in and modify a software. The users who have in there locations software of unknown origin are committing a huge error.

Therefore, software protection is primordially performed with control (CRC). Thus a memory sector has a CRC obtained after several operations, after which is compared to an external memory that tells us if the software is tainted. This type of CRC also exists in accountability and statistics in solid (fixed) RAM memory. The software must also be upgradable, namely to have absolute access to the software without intermediaries. The company that produces this software is responsible for it, that is. The software “circles” around accountability; when the game is stopped for any reasons, the software is not allowed to forget ins, outs and credit, to have wrong data and in the end to leave you hanging, having no idea where you stand.

Hoax. In time, people became very resourceful in “cheating” games and they turn to various inventive methods to “daze” the machine. The versions of game enhancement countervail these drawbacks.

Software interactivity. The software is interactively programmed with location feedback. Practically, 100-120 versions are elaborated until reaching the perfect one.

Automat Debug. The software has an internal tracing system as a black box that keeps a record of the actions during exploitations.

In conclusion, in software programming, it is very important not to show weakness! It is your job as a programmer to find a way to achieve this! 

–          To be continued –Foarte important la un aparat de joc cu câștiguri este softul și implicit conceperea softului de bază. În acest episod vom demara un proces de cunoaștere mai aprofundată a componentelor ce stau la baza unui soft profesionist și sigur, așa cum este cel al companiei DGL PRO. Softul este urmarea anilor de aprofundare și implementare a activității de exploatare în teren.

Siguranța în exploatare. Proiectarea softului începe cu siguranța în exploatare și fără bâlbe. Nu este voie, pe cât posibil să se afișeze mesaje de eroare. Cu alte cuvinte jocul trebuie să fie cel puțin la fel de sigur ca o casă de marcaj electronică!

Apoi, foarte importantă este secretizarea și păstrarea datelor de contabilitate. În primul rând sistemul trebuie să țină minte in-out, contabilități, statistică, ș.a.m.d. De aici se pleacă cu softul, nu de la video, viteză, etc., care de obicei se caută la alte aplicații. Mulți fac greșeala că pornesc de la o poză frumoasă și apoi fac un soft de joc. Nu e bine așa. Pe jucător îl interesează siguranța banilor, de asemenea, el trebuie să aibă senzația că mereu a mai învățat ceva de la joc. Cu alte cuvinte, când schimbă locația și joacă în altă parte să nu aibă sentimentul că pornește de la zero. Deci, pe de o parte, trebuie să-i oferim gamblerului o familiaritate cu jocul, dublată în același timp, cu o interconectivitate și redescoperire continuă a jocului.

Sistemul de operare. Acesta este propriu și aparține firmei noastre, DGL PRO.

Bios. Face legătura primordială între soft și placa de bază (hard). Funcțiile Bios sunt: legătura cu tastatura, cu ecranul, cu contactele mecanice, cu becurile, cu sunetul (parte audio), legătura cu dispozitivele acceptoare-plătitoare, apoi vin legăturile externe: legăturile tip internet, jackpot, etc. Plăci mai sofisticate au posibilitatea de centralizare-transmitere a informațiilor contabile, inclusiv prin GSM, GPRS, etc.

Biblioteca matematică. Îți calculează procente, contabilități,ș.a.m.d.

Avem un contor general intern împărțit în două: total mizat și total câștigat. Diferența dintre cele două este câștigul brut al aparatului. Pe acesta poți să-l “scoți afară” pe tot sau îl împarți. De exemplu: o parte din acest câștig îl îndrepți către sistemul jackpot – care de obicei este unul progresiv și căruia îi sunt dedicate niște procente din total și pe care-l voi da în momentul în care se obține o formație maximă.

De obicei, procentul minim este dat de raportul WIN/BET și nu poate scădea sub 70%.

De ce? Pentru că dacă cobori sub acest procent, lumea nu mai joacă, jocul devine neinteresant și neatractiv. Procentul maxim poate urca la 98%. Deci, cam asta este marja în care tu poți să-ți reglezi aparatul, practic reglezi rata de câștig în aparat între 70% și 98%. Majoritatea jucătorilor vin să joace pentru “surprize” și nu pentru câștigul mediu (average) care are fi neinteresant.

Procentul natural. Acesta se calculează în funcție de apariția formațiilor. De exemplu, avem un “7” la zece figuri pe rolă. Deci probabilitatea de șeptari este de 1/10. La 2 role va fi 1/10 x 1/10 = 1/100. Așadar, ca să obții 2 șeptari probabilitatea este de 1/100. La 3 role principiul se păstrează, deci probabilitatea de a avea 3 șeptari este de 1/1000. La fel se calculează și pentru celelalte figuri de pe rolă. Astfel, funcție de desfășurata rolelor obținem un procent care este procentul natural al jocului, de exemplu 98%.

De obicei, o rolă desfășurată are între 20 și 45 de figuri. Există jocuri cu 3 role sau cu 5 role. Cele cu 3 role au 5 linii de câștig, iar la 5 role ajung la peste 20 de linii de câștig (mize).

În afară de asta, ca să faci jocul mai atractiv, se creează niște jocuri speciale. La aceste tipuri de jocuri, sunt mai puține figuri pe rolă, dar mai bine plătite. Jocurile speciale (așa numitele “fără miză”) nu trebuie plătite. De exemplu, obții o formație oarecare, jocul îți garantează că următoarele 5 jocuri le joci gratis (așa-zisele freegamesi).

Fondurile speciale sunt până în maxim 25% din încasări. Se coboară procentul real de la 98% la 90% și restul îl împart în jackpoturi, speciale, câștiguri progresive.

În funcție de asta se stabilește strategia de joc, adică softul de joc.

La jocurile de cărți tip poker electronic avem tabele de câștiguri în funcție de miză, creditul și miza. Aici câștigurile care se dau sunt între 80-98%. Pokerul este mult mai anost grafic decât rolele, dar aici găsim alt tip de jucători. Câștigul unui operator aici este din rulaj, practic vorbim de un joc pus pe cât mai multe mașini.

Generatorul de numere aleatoare. Este practic amestecătorul de cărți, respectiv învârtitorul de role și este o piesă de bază în soft. Cum funcționează acesta? La început se pune o “sămânță” (seed), după care o numărătoare care tot amestecă această sămânță și se obține de fiecare dată un șir de numere aleatoare. Softul are niște “frâne” care nu lasă jocul să dea afară peste o valoare de procent până nu și-a făcut o anumită acumulare setată, pentru că altfel nu ar fi rentabil. Astfel că la începutul jocului softul are niște frâne până trece de faza de acumulare.

Softurile bune, așa cum este și al nostru, au și un generator de numere aleatoare secundar (extern), ce nu se bazează pe același procesor. În general softurile sunt predictibile, așa că e bine să ai softul principal pe procesorul 1 și softul secundar pe procesorul 2.

În concluzie avem softul de bază care este compus din 3 piese de bază – Bios, Matematică, Contabilitatea & Statistică, apoi avem partea Video & Audio, partea de lumini și becuri care ține de Aspect, Tastatura și Dispozitive Acceptoare & Plătitoare de bani.

Video, Audio, Aspect, Acceptoare, Tastatura. Softul de video este corelat cu partea hard și poate prelucra imaginea pentru monitoare CGA (320 x 240 pixeli) – adică așa zisele display-uri vechi, iar mai nou  VGA (640 x 480 pixeli), SVGA, apoi avem televizoare cu 2 ecrane, 3 ecrane, ș.a.m.d.

Softul de procesare video trebuie să fie cât mai rapid, fără sacadări, blankuri, freezing (“înghețare”). E bine ca designul video să nu fie prea complicat, să nu aibă prea multă animație pentru că-l zăpăcește pe jucător.

Securizarea softului. Majoritatea softurilor sunt securizate și ultrasecurizate. Nu poți să citești o memorie și nu oricine poate să intre să modifice un soft. Utilizatorii care pun în săli softuri fără proveniență cunoscută comit o mare eroare.

Așadar securizarea softului se face primordial prin sume de control (CRC). Astfel, un sector de memorie are un CRC obținut prin diferite operații care apoi este comparat cu o memorie externă, prin intermediul căreia aflăm dacă nu s-a alterat softul. Acest tip de CRC există și la statistică și contabilitate în memorie RAM nevolatilă. De asemenea, softul trebuie să fie upgradabil, adică să ai acces absolut în soft fără intermediari. Adică firma producătoare de soft are responsabilitatea acestui soft. Softul se “învârte” în jurul contabilității; nu este permis ca la oprirea jocului din anumite motive softul să nu țină minte intrările, ieșirile sau creditul, să aibă datele eronate și, în final, să nu mai ști pe unde ești.

Hoaxarea. Oamenii au devenit de-a lungul anilor foarte inventivi la a “păcăli” jocurile și recurg la diverse metode ingenioase de a “zăpăci” aparatul. Variantele de perfecționare a softului contracarează aceste neajunsuri.

Interactivitatea softului. Softul este programat interactiv cu feedback din teritoriu. Practic  se elaborează 100-120 de variante până la cea perfecționată.

Debug automat. Softul are un sistem de tracing intern ca un fel de black box care are o evidență a întâmplărilor în momentul exploatării.

În concluzie, foarte important în programarea softului este să nu dai semne de slăbiciune! Este treaba ta de programator cum faci!

–          Va urma –





Author: Editor

Share This Post On

1 Comment

  1. Am o idee de joc dar nu stiu cum sa-l fac .Ma puteti ajuta?

    Post a Reply

Submit a Comment

Adresa ta de email nu va fi publicată.