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 > Dubbio progetto Basi
Pages (9): « 1 [2] 3 4 5 6 » ... Last »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
lordghost
Black Lord

User info:
Registered: Oct 2005
Posts: 232 (0.03 al dì)
Location: Milan
Corso: Informatica
Anno: 3
Time Online: 2 Days, 9:48:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

usa la comoda funzione mysql NOW() :D
insert into players (nome, data) values ($nome, now())
easy ;)

__________________
My 3D blog: http://www.webgl.it

04-03-2009 22:17
Click Here to See the Profile for lordghost Click here to Send lordghost a Private Message Visit lordghost's homepage! Find more posts by lordghost Add lordghost 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

io invece ho un problema con lo schema ER per quel che riguarda il concetto di STRADE. Non so se farla ricorsiva su Città oppure come attributo opzionale di Città con campo chiave esterna sempre su Città (a rappresentare l'altra città che collega)...
Qualcuno mi può dire se sono ipotesi completamente errate o come l'ha pensata lui?
grazie mille!

06-03-2009 10:53
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

scusate ho una domanda sulla gestione dei VI, come aumento i RA e RN? solo in base all'aument della popolazione?

06-03-2009 11:41
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

Oltre a sollecitare una risposta alla mia richiesta precedente vorrei porre un altro quesito: il testo del progetto dice che un esercito può spostarsi fra le città del giocatore; non sarebbe meglio fra tutte le città? se no come fa ad attaccare una città di un altra nazione e a depredarla? a distanza ?
Grazie mille

09-03-2009 16:24
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
mala72
.simpatizzante.

User info:
Registered: Jun 2006
Posts: 16 (0.00 al dì)
Location:
Corso:
Anno:
Time Online: 7:57:51 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Io mi sono limitato a tentare di fare quello che chiedevano nelle specifiche del progetto, che almeno in questo caso sono chiare (poi, se abbiano senso o no non e' affar mio), per cui gli eserciti possono spostarsi solo nelle citta' del giocatore, e possono attaccare una qualsiasi citta' straniera provvista di esercito (oltre tutto a ben vedere neanche questo ha molto senso nella realta': se dovessi attaccare una citta', se questa fosse priva di un esercito per me sarebbe moooolto meglio)

11-03-2009 11:36
Click Here to See the Profile for mala72 Click here to Send mala72 a Private Message Find more posts by mala72 Add mala72 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

e direi che la strada di attenersi alle specifiche per le cose ambigue (o quanto meno non andarsi a complicare la vita) è la scelta migliore.
Mi rimane solo un dubbio (per ora): l'implementazione nello schema ER della possibilità di spostamento di un esercito; ho pensato alla formula ESERCITO-va-CITTA'. La cardinalità fra ESERCITO e 'va' è possibile che sia (0,1) ?

Tks

11-03-2009 14:03
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

PS: penso che sia (0,N) ma non ne sono sicurissimo...

11-03-2009 14:40
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
ma721737
.fedelissimo.

User info:
Registered: Dec 2007
Posts: 45 (0.01 al dì)
Location: Pavia
Corso: Informatica
Anno: Terzo
Time Online: 14:08:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ciao a tutti!
ho due dubbi..
uno si ricollega al dubbio di antares, ovvero lo spostamento dell'esercito. L'esercito si sposta tra città per mezzo delle strade. Io inizialmente ho creato un'entità strada inserendo tra gli attributi le due città collegate da quella strada. Ma non credo che sia la via giusta.. Mi date un consiglio?

Il secondo dubbio riguarda invece la nazione, ovvero: all'inizio del gioco la nazione ha una città di default (mettiamo che sia la sua capitale). Come faccio a far si che quella città (già esistente) vada ad inserirsi automaticamente come tupla nell'entità città?
spero di essere stata chiara..grazie =)

__________________
If I were to be alone, silence would rock my tears.

24-03-2009 10:22
Click Here to See the Profile for ma721737 Click here to Send ma721737 a Private Message Find more posts by ma721737 Add ma721737 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

penso che nel momento in cui un giocatore stabilisce nome e bandiera della nazione da controllare possa stabilire anche nome e altri dati della città "capitale".

a proposito, per la bandiera come pensate di fare? un upload di un'immagine o cos'altro???

24-03-2009 11:29
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
ma721737
.fedelissimo.

User info:
Registered: Dec 2007
Posts: 45 (0.01 al dì)
Location: Pavia
Corso: Informatica
Anno: Terzo
Time Online: 14:08:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

si certo che l'utente può stabilire i vari campi ma la capitale come fa a rientrare nelle tuple dell'entità città?

per quanto riguarda la bandiera pensavamo di inserire il path dell'immagine.

__________________
If I were to be alone, silence would rock my tears.

24-03-2009 11:32
Click Here to See the Profile for ma721737 Click here to Send ma721737 a Private Message Find more posts by ma721737 Add ma721737 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

con la stessa procedura con la quale si inseriscono le città successivamente, con una insert. Il giocatore dopo aver scelto la nazione sarà obbligato a inserire anche una città

24-03-2009 11:45
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
ma721737
.fedelissimo.

User info:
Registered: Dec 2007
Posts: 45 (0.01 al dì)
Location: Pavia
Corso: Informatica
Anno: Terzo
Time Online: 14:08:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

aaah capito =) grazie mille!! per lo spostamento dell'esercito hai risolto qualcosa?

__________________
If I were to be alone, silence would rock my tears.

24-03-2009 11:48
Click Here to See the Profile for ma721737 Click here to Send ma721737 a Private Message Find more posts by ma721737 Add ma721737 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gimmy
.consigliere.

User info:
Registered: Jun 2008
Posts: 117 (0.02 al dì)
Location: Palazzolo Milanese
Corso: Informatica Magistrale
Anno:
Time Online: 22:56:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ragazzi ma secondo voi implementare la gestione dei turni e dello spostamento degli eserciti tramite trigger è fondamentale o si puo fare anche in php?
Perchè in php saprei come gestire il problema, ma tramite trigger no... (piu che altro mi servirebbe una sorta di array per confrontare i risultati di una select uno ad uno, e non so come fare...)
:?

27-03-2009 12:07
Click Here to See the Profile for Gimmy Click here to Send Gimmy a Private Message Find more posts by Gimmy Add Gimmy 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

il testo però dice che l'esercitò PUO' muoversi fra le città del giocatore, non che DEVE muoversi SOLO fra le città del giocatore...e in più dice che una strada può collegare 2 città di due nazioni diverse.
Quindi mi viene il dubbio che n esercito possa andare un pò dove cacchio vuole.
Voi che scelta avete fatto a riguardo? movimento solo nella propria nazione o ovunque?

01-04-2009 11:36
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

ps: anche perchè se no non avrebbe senso dire: "Le città collegate possono appartenere a nazioni diverse. Una volta costruita, la strada può essere utilizzata da tutti i giocatori."

per essere utilizzata da tutti i giocatori una strada che collega due città, sia internamente a una nazione che non, significa che i giocatori possono andare ovunque...

01-04-2009 11:45
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 10:50.    Post New Thread    Post A Reply
Pages (9): « 1 [2] 3 4 5 6 » ... 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.044 seconds (80.85% PHP - 19.15% MySQL) con 26 query.