bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] players names unchanged even when selecting " GNUbg vs.


From: Øystein Johansen
Subject: [Bug-gnubg] players names unchanged even when selecting " GNUbg vs. uman"
Date: Thu, 19 Jul 2007 20:17:57 +0200

The names of the players are stored in a global variable. Each time you open a 
match or game the global names are set to the name in that match. That's why.

I agree with you that it should not be like this. 

I also believe that there's to many global variable in gnubg. This makes the 
code unmaintainable and hard to extend. This problem is addressed before, but I 
think we're missing resources (and/or motivation) to do a refactoring.

-Øystein

------ Opprinnelig melding ------
Fra: Joseph Heled <address@hidden>
Til: "address@hidden" <address@hidden>
Dato: Fri, 20 Jul 2007 04:35:40 +1200
Emne: SV: [Bug-gnubg] players names unchanged even when selecting "GNUbg vs.    
uman"

I opened the saved match (sgf). After I finished viewing it, I clicked
Ctrl-N and selected (GNU backgammon vs. human). The names of the
players were unchanged, which is not what I expected.

-Joseph




reply via email to

[Prev in Thread] Current Thread [Next in Thread]