Salis is an artificial life simulation, based on Tom Ray's Tierra.
nino - Apr 12 2018 09:13 AM
Recent Blog Entries
Recent Status Updates
- Managed C++
- Visual Basic 4 / 5 / 6
- linked list
- hello world
How to create a text based web browser game
Posted 10 November 2009 - 05:53 AM
First you will need to learn HTML. HTML is a markup language which means it's not a programming language. HTML is the very base since this is what will make web pages. A HTML document can also simply be called web page. Everything you will learn later will in one way or another alter the web page by doing something with the HTML. So you can say that HTML is your actual pages. To learn HTML a good walk through tutorial can be found here: HTML Tutorial
When you have learned HTML good enough there's time to learn CSS. But don't hurry it's better that you learn one thing good enough before you continue with the next one. CSS makes your pages look nice by adding styles to your HTML elements such as color, size, margins etc. Neither CSS is a programming language and is "only" used to set the styles of your HTML pages. If you want a good walk through tutorial about CSS you can found it here: CSS Tutorial
MySQL is a database, the data stored in a MySQL database is stored in tables. The database we will use to store all information in the game. Then we'll use PHP to get or set info from/to the database and by using this we can create users and keep all information about them and also show it on our pages by returning it to the browser with the PHP as plain HTML. To "order" your database to do something you'll need to use queries which looks something like this "SELECT LastName FROM Persons", queries could be used through our PHP code which means we use the PHP could to send "orders" to the database to retrieve/change information. You can learn about MySQL together with PHP here PHP MySQL Introduction
Now when you know what to use and have learned all this you'll much easier found the information you'll need. A tip for a tutorial showing you how to do a log in system and other thing needed for a big project is http://forum.codecal...t-part-1-a.html created by WingedPhanter. One thing to remember, from no experience to a complete web browser game is not a one week project, not even one month, it will take a lot of time to do, but now you know what to do to be able to create one. Hope you found this informative and have good luck learning, if you need any more help just leave a comment below
Posted 10 November 2009 - 09:15 AM
Nicely written, +rep
Posted 10 November 2009 - 09:17 AM
Do I have to use PHP or can I use Perl/Python/Ruby/etc?
Nicely written, +rep
I will show what you need to learn and what you will use to create a text based web browser game, observe that this could be made in some different ways but I'll show one of them.
Does this answer your question?
Posted 10 November 2009 - 01:51 PM
Posted 10 November 2009 - 03:04 PM
Posted 03 June 2010 - 08:02 AM
Posted 03 June 2010 - 08:54 AM
You don't need css either
Posted 03 June 2010 - 10:51 AM