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 ... « 12 13 14 15 [16] 17 18 19 20 » ... Last »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
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

Resterà sempre li, fino a che o non finiscono i dadi di uno dei 4, oppure fino a che uno non va su T.

Qualcuno ha provato a fare la sottoposizione? che errori ha??

16-02-2009 17:58
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

Originally posted by Supernick
Resterà sempre li, fino a che o non finiscono i dadi di uno dei 4, oppure fino a che uno non va su T.


eh ma, scusa, se finisco su un back e oca, mica passo il turno ad un altro giocatore...perciò i dadi non possono finire, e nessuno può andare su un T :|

16-02-2009 18:21
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
Collapse
AnTHrAx
.dead end.

User info:
Registered: Apr 2004
Posts: 100 (0.01 al dì)
Location: milano
Corso: comunicazione digitale
Anno: 5
Time Online: 21:07:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Io mi sto perdendo :| il programma l'ho finito di scrivere (sicuramente sarà pieno di errori) solo che mi sento stupido e nn so ne dove mettere il main (se farlo in GameOfTheGoose o una classe a parte) ne tantomeno cosa metterci per farlo partire...

nn è che qualcuno mi da un consiglio pls? pure su msn va bene

aimer71@hotmail.com

__________________
:O

16-02-2009 18:37
Click Here to See the Profile for AnTHrAx Click here to Send AnTHrAx a Private Message Find more posts by AnTHrAx Add AnTHrAx 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

ragazzi scusate una domanda....il metodo write() di board non ha senso chiamarlo da solo,ha senso solamente se viene chiamato all'interno di un altro metodo ad esempio quando si verifica una chiamata a setPiece...giusto?
help pls

16-02-2009 18:41
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
AnTHrAx
.dead end.

User info:
Registered: Apr 2004
Posts: 100 (0.01 al dì)
Location: milano
Corso: comunicazione digitale
Anno: 5
Time Online: 21:07:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

no beh puo anche essere chiamato da solo... che abbia senso o no non sta a noi deciderlo

__________________
:O

16-02-2009 18:53
Click Here to See the Profile for AnTHrAx Click here to Send AnTHrAx a Private Message Find more posts by AnTHrAx Add AnTHrAx 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

no lo so che può essere chiamato da solo,ma intendo che il metodo write() serve a stampare uno configurazione che è stata cambiata.
Perché se no basterebbe il metodo tostring()

16-02-2009 19:15
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 ma, scusa, se finisco su un back e oca, mica passo il turno ad un altro giocatore...perciò i dadi non possono finire, e nessuno può andare su un T


Se finisci su un Back, fa -3 Passi, se poi finisce su un oca, farà altri -3 Passi (ripete lo stesso spostamento..... e credo che mantiene anche la direzione) poi si rigira e passa il turno

no lo so che può essere chiamato da solo,ma intendo che il metodo write() serve a stampare uno configurazione che è stata cambiata.
Perché se no basterebbe il metodo tostring()

Occhio che il write ti serve a scrivere sul file da cui carichi, quindi si, direi che serve soprattutto quando invochi il setPiece(), che è l'unico che in effetti fa cambiare la configurazione.

OT: Ho risposto al tuo pm jack, scusa ma non l'avevo visto :|

16-02-2009 19:31
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

sisi grazie supernick..era quello che avevo bisogno si sapere.
Un altra cosa....voi come avete fatto a gestire la progressione dei tiri dei giocatori?
Perché a mio parere il metodo nextDiceToss come fa a sapere quale de tiri scegliere?Non ci sarebbe bisogno di un indice che specifica il turno??

16-02-2009 19:52
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

ci sono diversi modi, o nel nextDiceToss metti una variabile tourn che si incremento da sola (tourn++) quindi praticamente player[tourn++], ma è un po' complicata da gestire quando devi bloccare i turni (ad esempio in Goose e Back piece, oppure semplicemente gli metti tourn e un metodo setTourn in modo che lo setti a tuo piacimento

16-02-2009 19:58
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

ma siete sicuri che si puo mettere metodi e variabili d'istanza a piacimento???
Perché io finora ho scritto solo metodi e variabile che c erano scritte nel testo,senza aggiungere altro.....

16-02-2009 20:13
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

Beh, non proprio a piacimento, però se ti servono li metti, ho provato la sottoposizione ora mi funziona, l'importante è che i parametri dei costruttori e dei metodi li fai esattamente come richiesti

16-02-2009 21:12
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

supernick ti ho mandato un pm.......
Ragazzi ma il metodo setPiece(Player p,piece n) deve chiedere all'utente il tipo di casella da inserire ???(e nel caso anche l'eventuale bonus)

16-02-2009 21:48
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

si, ad esempio se hai

Piece pc= new Piece(0,10) (spostamento e bonus)
Player pl = new Player (sorgente)

ci sarà un
board.setPiece(pc, pl)

16-02-2009 21:58
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
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

scusate ma il position di che tipo l'avete fatto????
poi avete lavorato slo con una matrice o anche con un array contenente solo le caselle "buone"???

17-02-2009 09:35
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
Ste Ramone
.fhtagn.

User info:
Registered: Jun 2003
Posts: 2987 (0.36 al dì)
Location: dove capita
Corso: ComunicaDigitalizia Ponti
Anno: il tempo nn esiste
Time Online: 42 Days, 0:15:48 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by towl88
tra l'altro hanno rimodificato ancora il pdf...adesso le dimensioni sono 11 14

scusate ma in quale pdf? quello linkato all'inizio del thread ha ancora 10 14 o sbaglio?

__________________
"The more the water, the higher the boat"

DeviantART - Blog - Portfolio

17-02-2009 12:40
Click Here to See the Profile for Ste Ramone Click Here to See the Blog of Ste Ramone Click here to Send Ste Ramone a Private Message Visit Ste Ramone's homepage! Find more posts by Ste Ramone Add Ste Ramone to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 07:42.    Post New Thread    Post A Reply
Pages (22): « First ... « 12 13 14 15 [16] 17 18 19 20 » ... 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.154 seconds (56.77% PHP - 43.23% MySQL) con 24 query.