Battles ~ Unstubbing Stubs Design Document - uchicago-cs/chiventure GitHub Wiki

RPG-Battle Stubs Design Doc

Overview

The work of the RPG-Battles team needs to work well with the current game-state module (See here). This means updating a number of relevant data structures to meet the new needs of the team.

Goals

The full implementation of this design document will be complete when all open stubs have been integrated into the game-state module.

Action Items

Structs to be updated for the game_state module:

  • battle_structs.h
    • Update battle_item_t
    • Update move_t
    • Update stat_t
    • Update stat_changes_t
  • battle_common.h
    • Update combatant_t
  • battle_flow_structs.h
    • Update battle_ctx_t
    • Update battle_player_t
    • Update battle_game_t

Structs/functions in game_state module that will be updated: game_t, player_t, player_new, game_new, etc.