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 > Basi di dati ~ informatica triennale > Concetto movimento esercito
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
antares85
.illuminato.

User info:
Registered: Oct 2005
Posts: 197 (0.03 al dì)
Location: milano
Corso: informatica
Anno: 2
Time Online: 1 Day, 6:16:58 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Question Concetto movimento esercito

Ciao a tutti!
Nel testo del progetto c'è scritto che "un esercito può compiere 1 movimento soltanto per turno di gioco".
Di conseguenza, la cardinalità fra l'esercito e l'azione di spostarsi è (0,1) - ovvero può compiere uno spostamento soltanto oppure nessuno - o è (0,N) ?

Grazie mille

20-03-2009 14:04
Click Here to See the Profile for antares85 Click here to Send antares85 a Private Message Find more posts by antares85 Add antares85 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
morte2097
.primate.

User info:
Registered: Sep 2004
Posts: 68 (0.01 al dì)
Location: --------------------------------
Corso: info
Anno: primo
Time Online: 1 Day, 14:12:29 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ma secondo me i punti movimento li accumuli, poi ogni volta ke muovo l'esercito sottraggo 1 punto dalla somma totale dei "punti movimento" e sto pensando di mettere un campo " cont_mov " ke ad ogni turno del giocatore è settato a 1, quando sposto l'esercito di un movimento (sempre se ho i punti di spostamento disponibili) ,lo setto a zero per evitare ke l'utente possa spostare l'esercito più volte avendo più di 1 "punto movimento". tu ke dici?

22-03-2009 14:50
Click Here to See the Profile for morte2097 Click here to Send morte2097 a Private Message Find more posts by morte2097 Add morte2097 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
antares85
.illuminato.

User info:
Registered: Oct 2005
Posts: 197 (0.03 al dì)
Location: milano
Corso: informatica
Anno: 2
Time Online: 1 Day, 6:16:58 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

mi sa che non mi sono spiegato bene...la mia domanda è relativa alle cardinalità da mettere nello schema ER, non ai punti movimento.
Ho il dubbio se mettere le cardinalità massime fra ESERCITO e CITTA' siano 0,1 oppure 0,N (ovvero, un esercito può spostarsi in una sola città o in N città? di norma metterei 0,N ma il fatto che nel testo ci sia specificato che un esercito può fare un solo movimento per turno di gioco mi ha ftto sorgere il dubbio)

23-03-2009 08:33
Click Here to See the Profile for antares85 Click here to Send antares85 a Private Message Find more posts by antares85 Add antares85 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
antares85
.illuminato.

User info:
Registered: Oct 2005
Posts: 197 (0.03 al dì)
Location: milano
Corso: informatica
Anno: 2
Time Online: 1 Day, 6:16:58 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

credo di aver risolto...grazie cmq!

23-03-2009 10:16
Click Here to See the Profile for antares85 Click here to Send antares85 a Private Message Find more posts by antares85 Add antares85 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 03:42.    Post New Thread    Post A Reply
  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.028 seconds (78.46% PHP - 21.54% MySQL) con 25 query.