Käyttäjätunnus: Salasana:
Uuden käyttäjän rekisteröinti
Valvoja(t): Fencer 
 Logik

Logik.


Lista keskustelualueista
Moodi: Kaikki voivat lähettää viestejä
Etsi viesteistä:  

31. Tammikuu 2007, 16:04:37
coan.net 
Otsikko: Re:
Czuch Czuckers: example: you guess all red - opponent has 1 red in code

You get 1 black peg since one of your guesses match the opponents pieces as the same color & same place.

You can not get more then 1 peg for each of your guesses. Black pegs overrule.

.... wait, let me explain this differently.

First thing computer does is looks for exact matches in your guess and opponenets placement. If the computer finds an exact match (same color & same position), the computer gives you a black peg and from that point on ignores that position.

So from then on, the computer only looks at the remaining 4 positions.

After the computer finds no more exact matches (black pegs), it then starts to look for any color matches in the wrong position (again, only at the 4 remaining positions) If it finds any, it will then give you a white peg and then "ignore" those pieces in the rest of it's findings.

Päivämäärä ja aika
Ystävät palvelimella
Suosikki keskustelut
Yhteisöt
Päivän vinkki
Tekijänoikeudet - Copyright © 2002 - 2024 Filip Rachunek, kaikki oikeudet pidätetään.
Takaisin alkuun