Jump to content

How To Make A Text-Based Browser Game?

- - - - -

  • Please log in to reply
6 replies to this topic

#1
HaX

HaX

    Newbie

  • Members
  • Pip
  • 2 posts
I am trying to make a mafia/gangster/criminal/prison text-based browser game. Here are two sites that I would like to make mine kind of like (MMORPG Free Online Browser Based Game | PrisonStruggle.com ; Street Crime « Online Gangster Game « Free Browser MMORPG). I currently have a webhost and subdomain, but am waiting to be approved by a different webhost and get a new subdomain. My current webhost has MySQL Databases ; phpMyAdmin ; FTP Account ; Cpanel ; and more. I have messed around with the Cpanel for a little while and got no where, and think I may have messed something up. When I go to my subdomain:Index of / (did not mean to make it that) an index shows up. I have searched google and tons of other forums looking for tutorials and help on how to make a browser game, but had no luck. This is the first forum that I have actually posted on though, so am hoping to finally actually learn something. I have tried to learn languages i.e. HTML ; CSS ; JavaScript ; SQL ; etc, but get confused and learn almost nothing. Can someone please help me out and maybe even be like my mentor and help me all the way through till my website is finally finished?

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
You have to learn the following languages: HTML, CSS, JavaScript, SQL, PHP. Without those, you will not create your game. Period. This isn't a matter of magically configuring something in CPanel or phpMyAdmin. You will have to program, and you will need those languages.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,124 posts
  • Location:Vancouver, Eh! Cleverness: 200
You may wish to start out with purely learning PHP, with the emphasis on user sessions, form handling, and only then database handling.

From there you can create a database class to handle common functions of your game, for example checking a password or retrieving info to send an email to a user for confirmation. From then on it will be mostly on your own, there are various PHP games out there however they are all unique enough code wise to not recommend following line for line or action for action.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#4
Epatron

Epatron

    Learning Programmer

  • Members
  • PipPipPip
  • 56 posts
DreamInCode . net has pretty good tutorial for making mafia browser game, you could read that thru and learn some tricks from it :)
CLICK CLICK!
Np ;P

#5
HaX

HaX

    Newbie

  • Members
  • Pip
  • 2 posts
Thanks for all this information everyone. I am going to start learning HTML. Would someone like to be my mentor? If so please reply to the thread or send me a message. I would like to have my mentor send me certain tasks to do, so I can experience some coding. Like tell me to make a webpage, and tell me what to put in it and where, etc.

#6
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,124 posts
  • Location:Vancouver, Eh! Cleverness: 200
It takes time, and everybody learns differently. You may wish to simply learn CSS and its relation of HTML, creating columns and proper page layout. This will take up a majority of your learning effort to create a proper (and standards compliant) page, teaching you most of everything in the process.

It is hard to do much with just plain HTML in relation to websites.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#7
RhetoricalRuvim

RhetoricalRuvim

    JavaScript Programmer

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,254 posts
  • Location:C:\Countries\US
HTML is a very easy language. CSS is not that hard either. And once you learn a language like JavaScript, it shouldn't be too hard to learn other languages such as PHP. It's mostly a matter of syntax and function names, but a lot of it follows the same ideas.

Edited by RhetoricalRuvim, 09 August 2011 - 01:04 AM.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users