PHP games to learn PHP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nick Mudge

    PHP games to learn PHP

    Hi,

    I am learning PHP, but it can be kind of boring. Are there any games where
    you use PHP programming to play the game? This way you learn how to use
    PHP and it is fun. Does anybody know?


    Nick
  • Ivo

    #2
    Re: PHP games to learn PHP

    "Nick Mudge" wrote[color=blue]
    > I am learning PHP, but it can be kind of boring. Are there any games where
    > you use PHP programming to play the game? This way you learn how to use
    > PHP and it is fun. Does anybody know?[/color]

    Yes. Write something (a game, for example) in PHP. To make it even more
    entertaining, you could add a touch of javascript.
    Ivo



    Comment

    • Garp

      #3
      Re: PHP games to learn PHP


      "Ivo" <no@thank.you > wrote in message
      news:40cc70fe$0 $62706$ee9da40f @news.wanadoo.n l...[color=blue]
      > "Nick Mudge" wrote[color=green]
      > > I am learning PHP, but it can be kind of boring. Are there any games[/color][/color]
      where[color=blue][color=green]
      > > you use PHP programming to play the game? This way you learn how to use
      > > PHP and it is fun. Does anybody know?[/color]
      >
      > Yes. Write something (a game, for example) in PHP. To make it even more
      > entertaining, you could add a touch of javascript.
      > Ivo[/color]

      Since all games are input, output and state engines, the PHP bit is limited
      to the latter. You get to do the input/output in something else (browsers,
      JScript, etc) and practise doing the state engine code in PHP. Something
      like an old-style play-by-mail is perfect. Witness something like
      http://www.nationstates.net/cgi-bin/index.cgi for ideas that do that.

      Garp


      Comment

      • Mike

        #4
        Re: PHP games to learn PHP

        Garp wrote:[color=blue]
        > "Ivo" <no@thank.you > wrote in message
        > news:40cc70fe$0 $62706$ee9da40f @news.wanadoo.n l...
        >[color=green]
        >>"Nick Mudge" wrote
        >>[color=darkred]
        >>>I am learning PHP, but it can be kind of boring. Are there any games[/color][/color]
        >
        > where
        >[color=green][color=darkred]
        >>>you use PHP programming to play the game? This way you learn how to use
        >>>PHP and it is fun. Does anybody know?[/color]
        >>
        >>Yes. Write something (a game, for example) in PHP. To make it even more
        >>entertainin g, you could add a touch of javascript.
        >>Ivo[/color]
        >
        >
        > Since all games are input, output and state engines, the PHP bit is limited
        > to the latter. You get to do the input/output in something else (browsers,
        > JScript, etc) and practise doing the state engine code in PHP. Something
        > like an old-style play-by-mail is perfect. Witness something like
        > http://www.nationstates.net/cgi-bin/index.cgi for ideas that do that.
        >
        > Garp[/color]

        On what way is the PHP limited? Ok, flashy screens are not possible, but
        it works quite well for building for example a Formula 1 game or a
        football game. See http://www.mikewes.com/footie and
        http://www.mikewes.com/formule1 . These are two games I designed.

        Mike

        Comment

        • Garp

          #5
          Re: PHP games to learn PHP


          "Mike" <mikesjunk1@xs4 all.nl> wrote in message
          news:40ceee79$0 $48959$e4fe514c @news.xs4all.nl ...[color=blue]
          > Garp wrote:[color=green]
          > > "Ivo" <no@thank.you > wrote in message
          > > news:40cc70fe$0 $62706$ee9da40f @news.wanadoo.n l...
          > >[color=darkred]
          > >>"Nick Mudge" wrote
          > >>
          > >>>I am learning PHP, but it can be kind of boring. Are there any games[/color]
          > >
          > > where
          > >[color=darkred]
          > >>>you use PHP programming to play the game? This way you learn how to[/color][/color][/color]
          use[color=blue][color=green][color=darkred]
          > >>>PHP and it is fun. Does anybody know?
          > >>
          > >>Yes. Write something (a game, for example) in PHP. To make it even more
          > >>entertainin g, you could add a touch of javascript.
          > >>Ivo[/color]
          > >
          > >
          > > Since all games are input, output and state engines, the PHP bit is[/color][/color]
          limited[color=blue][color=green]
          > > to the latter. You get to do the input/output in something else[/color][/color]
          (browsers,[color=blue][color=green]
          > > JScript, etc) and practise doing the state engine code in PHP. Something
          > > like an old-style play-by-mail is perfect. Witness something like
          > > http://www.nationstates.net/cgi-bin/index.cgi for ideas that do that.
          > >
          > > Garp[/color]
          >
          > On what way is the PHP limited? Ok, flashy screens are not possible, but
          > it works quite well for building for example a Formula 1 game or a
          > football game. See http://www.mikewes.com/footie and
          > http://www.mikewes.com/formule1 . These are two games I designed.
          >
          > Mike
          >[/color]

          I'll take a look, I'm intrigued. 8) (Eek, Dutch...) They're as I predicted,
          technology-wise; wish I understood enough to get to know the games
          themselves!

          I only say "limited" because it's true; I'd like to maybe see a DirectX
          engine and threading modules so we can do thick client games in it one day,
          but til then, you're a state engine and little else, relying on other
          technologies for the whizz (which it's great at tying together). It's not
          called "PHP Hypertext Preprocessor" for nothing. But bolt together a
          database, some Flash MX and the internet and you've got the makings of
          something interesting.

          Garp


          Comment

          Working...