Now for people who are brand new to the world of programming a game can be rather complex. I always recommend that you start with a programming language that will teach the fundamentals, do some basic examples and of course work your way to doing the game.
To do a browser based game you are going to need to choose your language and the environment it will run on. You can go two routes. One route is using something very visual like Flash with Actionscript to give you those flash based games you see on www.addictinggames.com or you can go a server-side language like PHP/Coldfusion/ASP etc.
Personally I would recommend PHP since it is very flexible and I have seen a lot of games built with it. Plus as you learn it you can learn basic object oriented programming principles that will help with other languages like C++ or .NET languages.
I would get two to three books. One to teach you the language and its syntax. So a PHP book that looks pretty comprehensive. Second I would get a book dealing with a database and how to connect to it using PHP (you will need it to store user accounts and their game settings)... my choice would be MySQL since it works great with PHP. The last book would be a game building book that can teach you the math behind games as well as game design (levels, interface etc). Those three together can usually get you from beginner to intermediate game programming in several months.
Below are a few books that might help. Enjoy!
Beginning PHP and MySQL by ApressStraight PHP5 for learningLearning MySQL (O'reilly)PHP Game ProgrammingThis post has been edited by Martyr2: 6 Aug, 2007 - 10:06 AM