I have an idea
am 15.07.2009 06:21:28 von Martin Scotta
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?
--
Martin Scotta
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: I have an idea
am 15.07.2009 09:55:43 von Carlos Medina
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
Re: Re: I have an idea
am 15.07.2009 11:38:28 von Michael Peters
Carlos Medina 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?
>
The LISP list is two doors down across the hall.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Re: I have an idea
am 15.07.2009 13:57:01 von Carlos Medina
Michael A. Peters schrieb:
> Carlos Medina 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?
>>
>
> The LISP list is two doors down across the hall.
:-D but... why lisp? and why not PHP? explain please.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: I have an idea
am 15.07.2009 15:38:06 von Govinda
> 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?
>
> --
> Martin Scotta
>
sorry if this is getting OT:
Martin, I wrote a really fun and charming remake of a great that 2
others wrote in the 1980's. My version has really fun graphics and
sounds. I used visual basic as that is what I had then on my then
windows laptop, without internet, literally in the mountains in north
India where we only had electricity a couple hours per day, let alone
no internet. It is a simple but very fun strategy game with more
depth than say checkers (by far!), but less complex/daunting than say
chess. It has 2-player option, but writing the AI for the various
levels of difficulty when playing against the computer was the most
challenging and fun part of the project. I often thought of taking it
the next step and doing just what you propose here. I don't know
what is LISP, but I assume that post meant to say that PHP is not the
best language for this. (?) I say, "so?" If you know PHP, (and
what, AJAX to go with it?) then you can do it, and HAVE FUN,
regardless that it is very inefficient way to do it.
For myself I can't afford to take time for that much programming fun,
just now.. but let me know in case you (or anyone) would like a copy
of that game.. it may give you some ideas, not to mention it is
perfect fun for unwinding at the end of a day of coding. Takes 5
minutes to play. The expert level is not at all easy to beat! ;-)
(for windows 98-->Vista. Windows-7 I don't know... I use Mac when I
have a choice.)
-Govinda
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: I have an idea
am 15.07.2009 17:29:49 von TedD
At 1:21 AM -0300 7/15/09, Martin Scotta wrote:
>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?
>
>--
Here's an AI (rule based) php game:
http://sperling.com/quarters/
Get your AI to beat mine. :-)
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: I have an idea
am 15.07.2009 17:40:54 von Ashley Sheridan
On Wednesday 15 July 2009 16:29:49 tedd wrote:
> At 1:21 AM -0300 7/15/09, Martin Scotta wrote:
> >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?
> >
> >--
>
> Here's an AI (rule based) php game:
>
> http://sperling.com/quarters/
>
> Get your AI to beat mine. :-)
>
> Cheers,
>
> tedd
>
> --
> -------
> http://sperling.com http://ancientstones.com http://earthstones.com
I think I can figure out how not to lose, but I don't know how to win...
--
Thanks,
Ash
http://www.ashleysheridan.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Re: I have an idea
am 15.07.2009 18:19:16 von Martin Scotta
On Wed, Jul 15, 2009 at 4:55 AM, Carlos Medina 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
Re: I have an idea
am 15.07.2009 18:23:16 von Martin Scotta
On Wed, Jul 15, 2009 at 10:38 AM, Govinda wro=
te:
>> 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?
>>
>> -- Martin Scotta
>>
>
>
> sorry if this is getting OT:
>
> Martin, I wrote a really fun and charming remake of a great that 2 others
> wrote in the 1980's. =A0My version has really fun graphics and sounds. =
=A0I used
> visual basic as that is what I had then on my then windows laptop, withou=
t
> internet, literally in the mountains in north India where we only had
> electricity a couple hours per day, let alone no internet. =A0It is a sim=
ple
> but very fun strategy game with more depth than say checkers (by far!), =
=A0but
> less complex/daunting than say chess. =A0It has 2-player option, but writ=
ing
> the AI for the various levels of difficulty when playing against the
> computer was the most challenging and fun part of the project. =A0I often
> thought of taking it the next step and doing just what you propose here. =
=A0 I
> don't know what is LISP, but I assume that post meant to say that PHP is =
not
> the best language for this. =A0(?) =A0I say, "so?" =A0If you know PHP, (a=
nd what,
> AJAX to go with it?) =A0then you can do it, and HAVE FUN, regardless that=
it
> is very inefficient way to do it.
> For myself I can't afford to take time for that much programming fun, jus=
t
> now.. =A0but let me know in case you (or anyone) would like a copy of tha=
t
> game.. it may give you some ideas, not to mention it is perfect fun for
> unwinding at the end of a day of coding. =A0Takes 5 minutes to play. =A0T=
he
> expert level is not at all easy to beat! =A0;-)
> (for windows 98-->Vista. =A0 =A0Windows-7 I don't know... I use Mac when =
I have
> a choice.)
>
> -Govinda
>
That's the idea. You will have fun programming the AI and looking how
it "match" between others.
I'd like to see your game, do you still have it?
--=20
Martin Scotta
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: I have an idea
am 15.07.2009 18:28:47 von TedD
At 4:40 PM +0100 7/15/09, Ashley Sheridan wrote:
>On Wednesday 15 July 2009 16:29:49 tedd wrote:
> > Here's an AI (rule based) php game:
>>
>> http://sperling.com/quarters/
>>
>> Get your AI to beat mine. :-)
>>
>> Cheers,
>>
>> tedd
>>
>> --
>> -------
>> http://sperling.com http://ancientstones.com http://earthstones.com
>
>I think I can figure out how not to lose, but I don't know how to win...
>
>--
>Thanks,
>Ash
Yes, but that's you -- write an AI program to do it. :-)
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: I have an idea
am 15.07.2009 18:29:17 von Martin Scotta
On Wed, Jul 15, 2009 at 12:29 PM, tedd wrote:
> At 1:21 AM -0300 7/15/09, Martin Scotta wrote:
>>
>> 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?
>>
>> --
>
> Here's an AI (rule based) php game:
>
> http://sperling.com/quarters/
>
> Get your AI to beat mine. =A0:-)
>
> Cheers,
>
> tedd
>
> --
> -------
> http://sperling.com =A0http://ancientstones.com =A0http://earthstones.com
>
nice game tedd, I played it a lot of times and still can't beat it.
Also I have pass the link about 2 weeks ago in the office... and the
AI always wins
quite frustrating, but really entertained
--=20
Martin Scotta
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: I have an idea
am 15.07.2009 19:09:35 von Govinda
> That's the idea. You will have fun programming the AI and looking how
> it "match" between others.
>
> I'd like to see your game, do you still have it?
>
> --
> Martin Scotta
I would love to see someone write an AI to beat my best skill level
that I could get into the AI. I can beat expert level now, every
time.. so I know there is more than I have captured so far in the
AI.. (thus the greyed-out option for skill level "Master") .. but as
Tedd alluded to in his reply to Ashley - having the skill is one
thing.. but capturing the skill in bytes is a feat, not for the meek
coder!
http://www.blisscode.com/BC_downloadables/Rama's%20Campaign% 201.0.2%20-%20INSTALLER.ZIP
the game itself is like 1MB. The rest of those 14 MB's are for the
sounds (.wav) mostly.. and a few small graphics.
make sure your windows desktop screen resolution is set to the default
(96 d.p.i., IIRC) or else it is unplayable due to improper positioning
of controls. Also ignore the hokey opening .. I wrote it for the
members of the ashram where I was living at the time; just push any
key to get past the intro and then read the directions of how to play
in the help menu - the "?" icon in the sky on the top right.
Let me know how it goes!
------------
Govinda
govinda.webdnatalk@gmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: I have an idea
am 15.07.2009 21:30:41 von Ashley Sheridan
On Wed, 2009-07-15 at 12:28 -0400, tedd wrote:
> At 4:40 PM +0100 7/15/09, Ashley Sheridan wrote:
> >On Wednesday 15 July 2009 16:29:49 tedd wrote:
> > > Here's an AI (rule based) php game:
> >>
> >> http://sperling.com/quarters/
> >>
> >> Get your AI to beat mine. :-)
> >>
> >> Cheers,
> >>
> >> tedd
> >>
> >> --
> >> -------
> >> http://sperling.com http://ancientstones.com http://earthstones.com
> >
> >I think I can figure out how not to lose, but I don't know how to win...
> >
> >--
> >Thanks,
> >Ash
>
>
> Yes, but that's you -- write an AI program to do it. :-)
>
> Cheers,
>
> tedd
>
> --
> -------
> http://sperling.com http://ancientstones.com http://earthstones.com
>
Done! In order to never lose, don't play ;)
Thanks
Ash
www.ashleysheridan.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: I have an idea
am 15.07.2009 21:40:58 von Daniel Brown
On Wed, Jul 15, 2009 at 15:30, Ashley Sheridan wrote:
> Done! In order to never lose, don't play ;)
That's what I had expected. ;-P
About eleven years ago, a co-worker and I each wanted the same day
off. I had seniority, but decided to play fair with him and give him
a shot. I told him that I could guarantee I could tell him the score
of a football game that night before the game started. If I was
wrong, he could have the day off AND I would give him my pay for the
day (we were medics for the state, so it wasn't a horrible chunk of
change). If I was right, I got the day off --- but to make sure it
was fair, we had to watch the game together that night, and he had to
pay for pizza.
When I got to his house, he ordered the pizza and asked if I was
ready to lose. I told him quite the contrary: before the game starts,
the score is a tie at zero-zero.
Being a good sport and admitting defeat, he let me have the day
off. Being as graceful as he was, I instead let him have the day
off.... and paid for the pizza.
A very "cheesy" story (yeah, that's right), but relevant. Seems
that now, in some places, trying to pull the same gag - even on a
friend - could get you two to the chest, single to the head. People
just don't have a sense of humor anymore....
--
daniel.brown@parasane.net || danbrown@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
Check out our great hosting and dedicated server deals at
http://twitter.com/pilotpig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: I have an idea
am 15.07.2009 22:10:20 von VamVan
--001636988b5c09b5c9046ec425a5
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
On Wed, Jul 15, 2009 at 12:40 PM, Daniel Brown wrote:
> On Wed, Jul 15, 2009 at 15:30, Ashley Sheridan
> wrote:
> > Done! In order to never lose, don't play ;)
>
> That's what I had expected. ;-P
>
> About eleven years ago, a co-worker and I each wanted the same day
> off. I had seniority, but decided to play fair with him and give him
> a shot. I told him that I could guarantee I could tell him the score
> of a football game that night before the game started. If I was
> wrong, he could have the day off AND I would give him my pay for the
> day (we were medics for the state, so it wasn't a horrible chunk of
> change). If I was right, I got the day off --- but to make sure it
> was fair, we had to watch the game together that night, and he had to
> pay for pizza.
>
> When I got to his house, he ordered the pizza and asked if I was
> ready to lose. I told him quite the contrary: before the game starts,
> the score is a tie at zero-zero.
>
> Being a good sport and admitting defeat, he let me have the day
> off. Being as graceful as he was, I instead let him have the day
> off.... and paid for the pizza.
>
> A very "cheesy" story (yeah, that's right), but relevant. Seems
> that now, in some places, trying to pull the same gag - even on a
> friend - could get you two to the chest, single to the head. People
> just don't have a sense of humor anymore....
>
> --
>
> daniel.brown@parasane.net || danbrown@php.net
> http://www.parasane.net/ || http://www.pilotpig.net/
> Check out our great hosting and dedicated server deals at
> http://twitter.com/pilotpig
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> : nice one
--001636988b5c09b5c9046ec425a5--
Re: I have an idea
am 15.07.2009 22:50:45 von Tom Worster
On 7/15/09 12:21 AM, "Martin Scotta" wrote:
> 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?
like core wars?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: I have an idea
am 15.07.2009 23:18:29 von TedD
At 3:40 PM -0400 7/15/09, Daniel Brown wrote:
> When I got to his house, he ordered the pizza and asked if I was
>ready to lose. I told him quite the contrary: before the game starts,
>the score is a tie at zero-zero.
Reminds me of many years ago when I was in New Orleans and a street
kid came up to me and said "I bet I know where you got them boots."
Considering that my boots were genuine elephant-skin made custom by a
boot maker in Las Vegas, I figured that the kid had mistaken the
maker for someone local. So I asked him "How much?" and he answered
"Five Bucks!"
I said "Okay, you got a bet." and the kid replied "You got them boots
on Bourbon Street." Considering that I was currently standing on
Bourbon street in the french Quarter, I saw how I had been tricked.
In any event, I paid the kid $5 and the next kid who asked me the
same question, I qualified the bet but had no takers.
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php