Closed Arxcis closed 8 years ago
It is already in StorageGuy..
Due to StorageGuy writing the highscore to a text file, I would say the function should go from DataGuy to StorageGuy.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/EmilZach/Sentence-Crusher/issues/21#issuecomment-203957246
Not in s_data.py, I think...
I can't check that right now, so I am not completely sure.
I checked and completely sure ;)
I can't check that right now, so I am not completely sure.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/EmilZach/Sentence-Crusher/issues/21#issuecomment-203964427
OK her er mitt forslag:
Til nå har DataGuy-klassen fungerte på følgende måte:
Attributter:
Metoder:
Forslaget mitt er å utvide virkeområdet til DataGuy , til også å inkludere metoder som går ut på å generere nye data, på grunnlag av data som allerede er lagret i DataGuy. Dette gjelder funksjonen calc_points() i LogicGuy og get_sorted_highscorelist() i StorageGuy.
Foreslår å endre navnet på disse to metodene til og plassere dem i DataGuy ;)
mvh Jonas
On Thu, Mar 31, 2016 at 4:31 PM, JoJo jonas.solsvik@gmail.com wrote:
I checked and completely sure ;)
- mar. 2016 4.27 p.m. skrev "Emil Teigland Zachariassen" < notifications@github.com>:
I can't check that right now, so I am not completely sure.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/EmilZach/Sentence-Crusher/issues/21#issuecomment-203964427
Har blitt enig med meg selv, og flyttet get_sorted_highscore() til DataGuy-klassen hvor den kan føle seg mer hjemme. Have a look guys.
Due to StorageGuy writing the highscore to a text file, I would say the function should go from DataGuy to StorageGuy.