Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi A - F > Fondamenti di architettura e programmazione > Progetto
Pages (22): « First ... « 10 11 12 13 [14] 15 16 17 18 » ... Last »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
jack1189
.fedelissimo.

User info:
Registered: Sep 2008
Posts: 55 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 7:46:24 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ma raga non riesco a capire bene cosa deve dare il metodo getBoard(),in pratica deve ritornare una stringa che rappresenta il campo da gioco?non basta chiamare il ToString()????

13-02-2009 22:36
Click Here to See the Profile for jack1189 Click here to Send jack1189 a Private Message Visit jack1189's homepage! Find more posts by jack1189 Add jack1189 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Supernick
.tritagranchi.

User info:
Registered: Jan 2008
Posts: 323 (0.05 al dì)
Location: Albairate (MI)
Corso: Comunicazione Digitale
Anno:
Time Online: 1 Day, 17:31:17 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

da quello che ho capito (ma non ne sono sicuro aspettiamo altri pareri)
toString() lo usi per la ritornare la stringa non codificata, quindi del tipo 1 E.2 S.1 -1 ecc..... il getBoard invece potrebbe ritornare la stringa E S S -1, anche se comunque non lo sto utilizzando per GameOfTheGoose, in quanto ho bisogno di lavorare su istanze di Piece e non su stringhe

13-02-2009 22:42
Click Here to See the Profile for Supernick Click here to Send Supernick a Private Message Find more posts by Supernick Add Supernick to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
jack1189
.fedelissimo.

User info:
Registered: Sep 2008
Posts: 55 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 7:46:24 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

toString in parole povere estrapola l'ultima riga dal file contenuto in filename.....poi questa stringa si da in pasto a setBoard che pensa a creare la matrice.....

13-02-2009 22:55
Click Here to See the Profile for jack1189 Click here to Send jack1189 a Private Message Visit jack1189's homepage! Find more posts by jack1189 Add jack1189 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
xbx12
.amico.

User info:
Registered: Jan 2008
Posts: 30 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 8:48:51 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

si ma il toString deve controllare che l'ultima stringa nn sia stata cambiata....

14-02-2009 09:46
Click Here to See the Profile for xbx12 Click here to Send xbx12 a Private Message Find more posts by xbx12 Add xbx12 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
kimin@
.arcimaestro.

User info:
Registered: Sep 2008
Posts: 408 (0.06 al dì)
Location: ---
Corso: comunicazione digitale
Anno: 1
Time Online: 3 Days, 18:19:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Pupino
Nella classe Player si legge tra gli attributi:

?? position: variabile di istanza che conserva la posizione corrente del giocatore all' interno del campo di gioco; il tipo non è specificato perché la scelta è lasciata a voi.

- si parla di variabilE.


Voi come avete fatto??


altra domandina...
ma secondo voi il player deve avere anche la dimensione della board come attributi??

14-02-2009 12:01
Click Here to See the Profile for kimin@ Click here to Send kimin@ a Private Message Find more posts by kimin@ Add kimin@ to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
jack1189
.fedelissimo.

User info:
Registered: Sep 2008
Posts: 55 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 7:46:24 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

– public void reload():
metodo che rilegge dal file indicato dall’attributo filename la Configurazione del campo di gioco;

cioè ragazzi ma questo metodo rilegge l'intero file o solo l'ultima riga??

14-02-2009 15:10
Click Here to See the Profile for jack1189 Click here to Send jack1189 a Private Message Visit jack1189's homepage! Find more posts by jack1189 Add jack1189 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
xbx12
.amico.

User info:
Registered: Jan 2008
Posts: 30 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 8:48:51 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

io penso l'ultima riga

14-02-2009 17:15
Click Here to See the Profile for xbx12 Click here to Send xbx12 a Private Message Find more posts by xbx12 Add xbx12 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Supernick
.tritagranchi.

User info:
Registered: Jan 2008
Posts: 323 (0.05 al dì)
Location: Albairate (MI)
Corso: Comunicazione Digitale
Anno:
Time Online: 1 Day, 17:31:17 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Quasi finito, qualche problemino col ripetere lo spostamento x il goosepiece

14-02-2009 18:56
Click Here to See the Profile for Supernick Click here to Send Supernick a Private Message Find more posts by Supernick Add Supernick to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Supernick
.tritagranchi.

User info:
Registered: Jan 2008
Posts: 323 (0.05 al dì)
Location: Albairate (MI)
Corso: Comunicazione Digitale
Anno:
Time Online: 1 Day, 17:31:17 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Yahooooo!!!!! Finito!!!!

Scusate una domanda logistica....ma con il backpiece, ovvero fa indietreggiare di 3 caselle, non accumulerà punti quando indietreggia e arriva alla casella vero??

15-02-2009 10:47
Click Here to See the Profile for Supernick Click here to Send Supernick a Private Message Find more posts by Supernick Add Supernick to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
jack1189
.fedelissimo.

User info:
Registered: Sep 2008
Posts: 55 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 7:46:24 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

come ca.... hai fatto ad aver già finito.....io ho appena iniziato Player......mi sa che arriveremo con l'acqua alla bocca.....

15-02-2009 11:06
Click Here to See the Profile for jack1189 Click here to Send jack1189 a Private Message Visit jack1189's homepage! Find more posts by jack1189 Add jack1189 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Supernick
.tritagranchi.

User info:
Registered: Jan 2008
Posts: 323 (0.05 al dì)
Location: Albairate (MI)
Corso: Comunicazione Digitale
Anno:
Time Online: 1 Day, 17:31:17 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Eh finito ma un botto di bug, in particolare problema con i lanci dei dadi, quando c'è un goose mi trattiene un turno :(

15-02-2009 12:54
Click Here to See the Profile for Supernick Click here to Send Supernick a Private Message Find more posts by Supernick Add Supernick to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Supernick
.tritagranchi.

User info:
Registered: Jan 2008
Posts: 323 (0.05 al dì)
Location: Albairate (MI)
Corso: Comunicazione Digitale
Anno:
Time Online: 1 Day, 17:31:17 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ora provo subito la sottoposizione così vi posso informare di problemi noti

EDIT: ragazzi non ci credo! Sottoposizione accettata al primo colpo con solo un warning (probabilmente per gli accenti), speriamo sia la volta buona :)

RIEDIT: Anzi le questioni sono 2: O non ci sono ancora i controlli per la sottoposizione, o non ne vengono più fatti, perchè ho provato ad inviare come prova una copia con un codice errato (costruttori con parametri diversi da quelli richiesti ecc... ) apposta per vedere e accetta lo stesso.....mhhhh

Last edited by Supernick on 15-02-2009 at 13:30

15-02-2009 13:22
Click Here to See the Profile for Supernick Click here to Send Supernick a Private Message Find more posts by Supernick Add Supernick to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Pavo88
.fedelissimo.

User info:
Registered: May 2008
Posts: 56 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 9:56:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ma cos'è la sottoposizione?? quando lo invii al prof?

15-02-2009 13:42
Click Here to See the Profile for Pavo88 Click here to Send Pavo88 a Private Message Find more posts by Pavo88 Add Pavo88 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Supernick
.tritagranchi.

User info:
Registered: Jan 2008
Posts: 323 (0.05 al dì)
Location: Albairate (MI)
Corso: Comunicazione Digitale
Anno:
Time Online: 1 Day, 17:31:17 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Si, in teoria se non rispetti le richieste esplicite (es ti chiede che un costruttore abbia un parametro e tu ne metti 2) non dovrebbe accettare e dovrebbe darti errore con scritto che quel costruttore non può avere 2 argomenti.

Io ho provato per sicurezza a metterne uno con due argomenti per vedere se mi dava (giustamente) errore ma non me lo da.
E non capisco quindi se il rilevamento di errori non è ancora attivo o cosa boh.
Ho mandato una mail al prof Malchiodi per ulteriori spiegazione, appena risponde vi farò sapere

Ollè, risolto il problema lanci, ora devo solo sistemare il doppio spostamento del goosepiece

Last edited by Supernick on 15-02-2009 at 14:33

15-02-2009 13:46
Click Here to See the Profile for Supernick Click here to Send Supernick a Private Message Find more posts by Supernick Add Supernick to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Jaky
.grande:maestro.

User info:
Registered: Nov 2003
Posts: 703 (0.09 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: laureando
Time Online: 5 Days, 1:02:58 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ragazzi, una domanda.
Ma voi, la parte in cui si deve spostare il player, guardando prima a destra, poi su, sinistra, giu, in quale classe l'avete implementata?
Nel GameOfTheGoose o in Player?
Cioè, mi verrebbe spontaneo di farlo in player nel metodo move, ma solo se questo accettasse come argomento anche un Board.

mm:?

15-02-2009 18:57
Click Here to See the Profile for Jaky Click here to Send Jaky a Private Message Find more posts by Jaky Add Jaky to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 23:57.    Post New Thread    Post A Reply
Pages (22): « First ... « 10 11 12 13 [14] 15 16 17 18 » ... Last »   Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.148 seconds (54.88% PHP - 45.12% MySQL) con 24 query.