Skip to content
View in the app

A better way to browse. Learn more.

Tip.It Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

~PHP Text Based Game~

Featured Replies

Ok so I have just recently started learning and using PHP. I started off with the book Silverion suggested which is called: "PHP and MySQL Web Development." So your probably wondering what I need help with? Well I really would like to build a game similar to all of those text browser games like ARENAscape, Utopia, etc.. Well I need some help because I dont even know where to start I mean I have made up weapon, armor, helm, and shield spreedsheets. I still have to think up the system of fighting I want to use and what game to maybe model it after (if any). So if you have any suggestions as to what PHP I should start using or if you would even be interested in helping me like making a game together.*

 

 

 

NOTE*: Please dont say you would be interested if you yourself dont know the basics or anything about PHP. Seondly if you are going to suggest something that has to do with code pleade put it in quotes because it is easier to read and also dont post code that is meaningless. Beasically you dont know HTML.

 

 

 

Any help would be very much appreciated. :)

 

 

 

Thanks, PERiON

scapebanner7yu.gif

 

ARENAscape:

turkey 120 7*herc

Andrew_Gower 34 Mountain

Hmm...

 

 

 

Slightly off topic, but I have a project which is still in conceptual stages (see my sig for the link).

 

If you are serious about making a text-based game using PHP I'd be more than happy for you to join vmser in heading development :)

 

 

 

Ironically the combat system is the only thing I'm yet to work out. Since it was going to be a sequal to ARENAscape it was going to be highly similar, however I was planning on meging in things from Mutanic and Gang-Wars.

I've made a game like this before, unfortunately my creativity doesn't match my programming and therefore it is incomplete.

 

 

 

I would definately agree that the hardest thing to do i start, because there are so many components.

 

 

 

I would suggest if you havent already that you start by making a simple log-in script, with a register page and a members page. When you have done that, and you have decided what your game is about, make the mysql database that holds all the stats of the players. Then give them ways to increase the stats. Also an ingame messaging system had thinking for quite a while, but once you get the concept it is quite easy.

 

 

 

And my last piece of advice to you is to bear security in mind even from the start, otherwise you'll be re-writing your code when you actually see how games like this can be abused if the proper measures are not taken. By security i mean, cleaning all data that is given by the user to take out html javascript whatever, and to assume that every user will try to break your game! Its good to be paranoid!

 

 

 

Feel free to PM me if you have any specific problems.

manipofsarahs1gg5.png

This is why you sit down and take the time to do some kind of analysis before you even write even a login script.

 

It saves you a hell of a lot of time, and trouble later down the track if you do it correctly.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.