First PHP Game

Remember when I talked about wanting to code some PHP games? (Yes, it was in 2008, what’s your point?) Well I finally managed to fit one in to my busy schedule last week, whilst avoiding studying for my current OU module.

Ignoring the fact that it’s talking about points (only relevant for the final ‘install’) and that there’s no graphics yet, feel free to have a play… Higher or Lower

If you manage to break it, let me know. I’d share the code but as it’s the first thing I’ve coded in months I’m not feeling particularly brave. :P

8 Comments

  1. Seems to work fine Jem, am crap at it though lol (nothing new there then)

  2. 12 points bitches!

  3. Made it round 5, except no card is showing up!

    it says, current card: and then nothing.

  4. Jem

    19 Oct at 7:28 am

    Cheers Jamie, I thought I’d fixed that bug :x

  5. Hmm, is this recycling cards or am i guessing from just one deck?
    I wanna see the shuffle code :)

    Interesting first choice.

  6. Interesting… I got to 12 points. =) But I really had no clue what I was doing, lol.

  7. I made it to 10 points but I couldn’t see a card after round 7.

  8. I got the no card bug too on the 2nd or 3rd game I played.