How to build a HTML game in 5 lines Part III
Ninjas learn to build their first text-based game using HTML.
Tips for use
This part is so zen it has no code.
Use phpmyadmin to create tables.... lots of tables. A players table , a weapons table, an objects table. Make sure each table has an auto-incremental unique index. Add stats like Health and Speed and Intelligence for the players and Durability for weapons or objects.
Now spend the next year working out how these variables and fields and objects and arrays interact to create a game.
Use AJax and other javscript techniques to make this statistics based world more dynamic and real-time.
How to build a HTML game in 5 lines- From Galway Dojo #1,1. Credit: Techbot How to build a HTML game in 5 lines Part II - From Galway Dojo #1,2. Credit: Techbot How to build a HTML game in 5 lines Part III - From Galway Dojo #1,3. Credit: Techbot