Broadside

Sample Board layout with 5 islands. These parameters are adjustable in the editor

Broadside

Personal Unity Project

Role: Everything but the art

Broadside is a naval tactics game I’ve been working on for the last several months as a way to improve and demonstrate my scripting skills. As such it uses no plug-ins and everything except for the on-click action menus were scripted and implemented by me

Features:

  • Procedural map generation and piece spawning

  • 3 unit types with an infrastructure to create more very quickly

  • Ocean tiles with variable depths that can change between turns

  • A finite state machine that allows enemy ships to make decisions based on the expected utility of aggression versus defense

Code Snippet of the decision making algorithm.

 

Ships can be customized by the designer in the following ways

  • Base aggression/cowardice

  • Likelihood to remain in combat when threatened ‘DoIStandMyGround’ is a parameter on every ship

These tools mean that in addition to the streamlined ship production architecture, designers can make multiple ship ‘subtypes’ by simply altering their behavior variables.