Re: Re: I have an idea

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 15, 2009 at 4:55 AM, Carlos Medina<info@xxxxxxxxxxxxxxxxxx> wrote:
> Martin Scotta schrieb:
>>
>> Hi
>>
>> Do you noted that all the discussion here are about problems, bugs, or
>> just "urgent pleaaase help me"
>> I have an idea. It is not really THE idea... but it is.
>> What happen if tell this idea to the community? I don't know, so,
>> let's take a look.
>>
>>
>> PHP is a great language. You can do a lot of things with him, even
>> have fun with it.
>> My idea is to make a simple game where your have to write some AI to
>> beat the other players AI
>>
>> The idea, as simple as it looks, is really difficult to implement
>> specially about security
>>
>> so, do you like me idea?
>>
> Hi Martin,
> i think is a good idea. How do you think to implement this?
>
> Carlos Medina
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Well, that's is exactly the main problem.

First I think that users must provide a set of classes to participate.
Then there will be some "matches" between the classes.

The problem here is the security, you are allowing to execute arbitrary code!

So, if the user classes can be executed remotely this issue is solved,
maybe using webservices...
This also free the user to implement the AI in PHP but has a great
limitation for the players.
Not all player has the resources / knowledge to set a webservice...

Another approach can be create some sort of "scripting" language. This
can be parsed / translated by PHP and all solved... but this will not
be a PHP game.

I want players to write the AI using PHP but, if possible, not restricting to it

-- 
Martin Scotta

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux