Full Stack Web App Board Game

This is a school project that seems simple at the beginning: make a board game. I’ve done that 4 years ago in a school art so it shouldn’t be a thing, right? It turns out what matters most is not the product, but the process


UML

I’ve drawn this before the start of actual programming (it is iterated after programming though). To be frank, the final version of this graph is too different from the first version. When I try to develop the game along with the first version, I realized that there’s no way for the game to be start: years experience in action game development let me forget that board game need something to control the state of game loop. (For action games, you usually just built the rule of the game world and things will happen)


Test Driven Programming

It’s interesting that I might have done a lot test driven development before this, but is was all manual. In small scope game development, we tends to run and see if a new feature works for some edge cases by manually doing some crazy stuff. After this true test driven experience, I’ve seen the efficiency difference between automatic and labor. The take away for me might be, how do I make games, especially action game, testable? And how would that influence the code structure positively? Manually playing the game for test feels like a 10% percent coverage integration test


Data Orientation Development

There were a period that I don’t like string and prefer everything for object. It’s fine to have object, but keep in mind that when ever you need to do network/external editing/data storage you need to have a way to store it properly as string, or aka data. And more importantly once you done it, you could do many very cool things like state revert. Some problem I usually face in unity development though is that serialization don’t seems working very well with prefab system. I guess it should be more editor script to shine. For example: can I make the weapon data store both prefab name and it’s GUID in resource manage scriptable object, so I can view and edit the weapon data in google sheet while it still connect with that prefab on load

Previous
Previous

Rift: Tale of the Oath

Next
Next

Mind Flooded