Create Your Own Sim Games

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Sim Games are a huge and popular rage on the internet. A SIM game range from text-based to full 3d graphics. They are data driven games that simulate different scenarios from owning a pet to trying to take over the world.

What You'll Make[edit]

This game is life simulator from birth to death and design your own characters and go to school and graduate from high school and go to prom and get married and have kids and raise a family and move in Your own dream home.

License[edit]

All of the source code is provided free under the GNU license.

Getting Started[edit]

In order to run all the code provided by this game it's strongly suggested that you download and installed XAMPP, a free software from ApacheFriends.org. You'll need a server, PHP 5 with the GD library installed, and at least one MySQL database.

XAMPP Basics[edit]

Once XAMPP is installed all you have to do is run the .exe program and navigate to where you installed it. To make sure you installed it correctly type http://localhost into your browser and hit enter. The default XAMPP page should appear.

Go to where you installed XAMPP and locate the folder called htdocs. This is where all of your files will need to go.

Now go to http://localhost/phpmyadmin in your browser. This will open up a graphical interface you can use to interact with MySQL, the database software we'll be using.

When you're done using XAMPP just close the .exe program. You'll notice that http://localhost is now no longer available. Localhost is only available when XAMPP is turned on.

Pits of Doom[edit]

The game is broken down into several different lessons or chapters. Click on a link to get started.

  1. Planning Stage
  2. Breaking It Down
  3. Mixing Things Up
  4. And Array We Go
  5. Easy Map Editor
  6. MySQL Database Class
  7. Join, Login & Lost Password
  8. Monsters & Field of View
  9. Advanced Tactics & Warfare
  10. Chat Room