Discussion World Forum  


Go Back   Discussion World Forum > Other Forums > Online Strategy Games

Online Strategy Games For those interested in playing Diplomacy online.

Reply
 
Thread Tools Display Modes
  #21  
Old Jan 14th 2009, 11:49 AM
drgoodtrips's Avatar
drgoodtrips drgoodtrips is offline
Official Forum Geek
 
Join Date: Oct 2008
Posts: 1,314
Default Re: RISK online

Is the game open source? If it's done in PHP, I could rig it pretty quickly to automate all defensive action, or else, pause the game in the occasional event of necessity for defensive action with a notification to the defender.

Though I would need to take a shower after coding in PHP
Reply With Quote
  #22  
Old Jan 14th 2009, 12:26 PM
andrewl's Avatar
andrewl andrewl is offline
Citizen
 
Join Date: Oct 2008
Posts: 426
Default Re: RISK online

Absolutely.
Reply With Quote
  #23  
Old Jan 14th 2009, 02:14 PM
Dominick's Avatar
Dominick Dominick is offline
Globetrotter
 
Join Date: Oct 2008
Location: Dying Europe
Posts: 3,837
Default Re: RISK online

Quote:
Originally Posted by drgoodtrips View Post
Is the game open source? If it's done in PHP, I could rig it pretty quickly to automate all defensive action, or else, pause the game in the occasional event of necessity for defensive action with a notification to the defender.
Yes, it's open source, and yes, it's PHP. It's this one :
http://sourceforge.net/projects/phprisk/

The code is rather trivial but as I don't have a clue how the game's supposed to work, I'm not gonna touch it. For that same reason, would you care being 'superadmin' (their term ) for the game ? I have no idea what options to set in the start phase.

Quote:
Originally Posted by drgoodtrips View Post
Though I would need to take a shower after coding in PHP
Why's that ?
Reply With Quote
  #24  
Old Jan 14th 2009, 02:50 PM
drgoodtrips's Avatar
drgoodtrips drgoodtrips is offline
Official Forum Geek
 
Join Date: Oct 2008
Posts: 1,314
Default Re: RISK online

Quote:
Originally Posted by Dominick View Post
Yes, it's open source, and yes, it's PHP. It's this one :
http://sourceforge.net/projects/phprisk/

The code is rather trivial but as I don't have a clue how the game's supposed to work, I'm not gonna touch it. For that same reason, would you care being 'superadmin' (their term ) for the game ? I have no idea what options to set in the start phase.
I'll take a look at the source over the next couple of days, and see what would be required. I'm assuming that it will be more than just a pure configuration issue - probably some source will need editing. If it's easier, I could administrate, otherwise, when I get a chance, I can make the mods and just send you the source code. PHP is interpreted anyway, so there won't be any compiler compatibility issues.

Quote:
Why's that ?
PHP is weakly typed, interpreted and ultra-forgiving, but with constructs like pointers, memory management, etc, which creates an environment where very powerful, ugly, and sloppy code is allowed and even encouraged. It's kind of object oriented, kind of procedural, kind of functional, etc. I'd imagine that this evolved because it's a good way for hacks to get started with some real or even "enterprise" development. As it is, the majority of PHP code written by others that I see is ugly, ugly code. You can write well designed code in PHP, but unlike Java or C/C++, there is absolutely nothing stopping you from deploying an absolute abortion. In that sense, I find it somewhat similar to Visual Basic.
Reply With Quote
  #25  
Old Jan 14th 2009, 07:29 PM
The Drunk Guy's Avatar
The Drunk Guy The Drunk Guy is offline
Bad Motherfucker
 
Join Date: Nov 2008
Location: 'Round back
Posts: 2,339
Default Re: RISK online

Quote:
Originally Posted by drgoodtrips View Post
I'll take a look at the source over the next couple of days, and see what would be required. I'm assuming that it will be more than just a pure configuration issue - probably some source will need editing. If it's easier, I could administrate, otherwise, when I get a chance, I can make the mods and just send you the source code. PHP is interpreted anyway, so there won't be any compiler compatibility issues.



PHP is weakly typed, interpreted and ultra-forgiving, but with constructs like pointers, memory management, etc, which creates an environment where very powerful, ugly, and sloppy code is allowed and even encouraged. It's kind of object oriented, kind of procedural, kind of functional, etc. I'd imagine that this evolved because it's a good way for hacks to get started with some real or even "enterprise" development. As it is, the majority of PHP code written by others that I see is ugly, ugly code. You can write well designed code in PHP, but unlike Java or C/C++, there is absolutely nothing stopping you from deploying an absolute abortion. In that sense, I find it somewhat similar to Visual Basic.
Technophilia is an affront to God and all His sheep!
__________________
Vae, puto deus fio...

Last edited by The Drunk Guy; Jan 14th 2009 at 07:31 PM. Reason: Forgot the smilie that instantly turns a controversial and inflamatory remark into a loveable joust at a friend.
Reply With Quote
  #26  
Old Jan 15th 2009, 11:24 AM
drgoodtrips's Avatar
drgoodtrips drgoodtrips is offline
Official Forum Geek
 
Join Date: Oct 2008
Posts: 1,314
Default Re: RISK online

Quote:
Originally Posted by The Drunk Guy View Post
Technophilia is an affront to God and all His sheep!
God and I have an arrangement... we're cool.

Reply With Quote
  #27  
Old Jan 15th 2009, 11:50 PM
The Drunk Guy's Avatar
The Drunk Guy The Drunk Guy is offline
Bad Motherfucker
 
Join Date: Nov 2008
Location: 'Round back
Posts: 2,339
Default Re: RISK online

So what's the intel? Think we can take daily turns?
__________________
Vae, puto deus fio...
Reply With Quote
  #28  
Old Jan 16th 2009, 10:14 AM
Michael's Avatar
Michael Michael is offline
Administrator
Herder of Cats
 
Join Date: Oct 2008
Location: Toronto
Posts: 14,835
Default Re: RISK online

Is it done yet?

Is it done yet?

Is it done yet?

Reply With Quote
  #29  
Old Jan 16th 2009, 12:22 PM
Dominick's Avatar
Dominick Dominick is offline
Globetrotter
 
Join Date: Oct 2008
Location: Dying Europe
Posts: 3,837
Default Re: RISK online

Quote:
Originally Posted by Michael View Post
Is it done yet?

Is it done yet?

Is it done yet?

Nothing's been done
The problem remains of how to start a game. Whenever I login there's only two players online, always maeson and myself. All other players would be stupid AI bots. As long as there are no other logins, nothing can be done.

Once there are sufficient participators, there remains to be made a choice for the following options :
  • Manual or automated deployment
  • Additional armies (0-100)
Any suggestions on that ?
Reply With Quote
  #30  
Old Jan 16th 2009, 07:09 PM
The Drunk Guy's Avatar
The Drunk Guy The Drunk Guy is offline
Bad Motherfucker
 
Join Date: Nov 2008
Location: 'Round back
Posts: 2,339
Default Re: RISK online

Quote:
Originally Posted by Dominick View Post
Nothing's been done
The problem remains of how to start a game. Whenever I login there's only two players online, always maeson and myself. All other players would be stupid AI bots. As long as there are no other logins, nothing can be done.

Once there are sufficient participators, there remains to be made a choice for the following options :
  • Manual or automated deployment
  • Additional armies (0-100)
Any suggestions on that ?
That sounds fucked up. FIX IT!

__________________
Vae, puto deus fio...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 03:05 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2008 - 2017, DiscussionWorldForum.com