Tonight I did a lot of reorganization, trying to make sure my display was outside of my modules. Moved some HTML around and updated some older code in the views.
I also did a fairly large redesign of the database... it has less redundancy in the data objects, which I like because it makes the database more minimalistic, but I worry about the performance of some of the JOIN operations that are now inevitable.
I thought a lot tonight about how to structure the actual game, the rendering of the room, and the management of the current state of the game. In order to get a foundation for what is arguably the most important part of the game, I had to create some objects to represent dungeons and game players. After that, I made a page that creates a dungeon with one room with a player in it, complete with its own view. I envision that in the future that page will have options about how many rooms, randomization technique, and who is invited. Now that I'm thinking about it, I should maybe add some fields to the dungeon objects to manage invites...
2 Hours
Last edit: dungeonsoffear 2015-05-19
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Tonight I did a lot of reorganization, trying to make sure my display was outside of my modules. Moved some HTML around and updated some older code in the views.
I also did a fairly large redesign of the database... it has less redundancy in the data objects, which I like because it makes the database more minimalistic, but I worry about the performance of some of the JOIN operations that are now inevitable.
I thought a lot tonight about how to structure the actual game, the rendering of the room, and the management of the current state of the game. In order to get a foundation for what is arguably the most important part of the game, I had to create some objects to represent dungeons and game players. After that, I made a page that creates a dungeon with one room with a player in it, complete with its own view. I envision that in the future that page will have options about how many rooms, randomization technique, and who is invited. Now that I'm thinking about it, I should maybe add some fields to the dungeon objects to manage invites...
2 Hours
Last edit: dungeonsoffear 2015-05-19