whitemonarch / gungi-server

https://www.white-monarch.com/
0 stars 0 forks source link

Tech Debt: current_state #1

Open TonyLeCode opened 1 month ago

TonyLeCode commented 1 month ago

Currently, the current state of a game is captured as FEN.

Issue:

This takes up a table column, and increases data size in the API.

Solution:

All the data required is in the move history and starting FEN. current_state should be removed and the system should be able to playout the move history to get the current state.

Notes:

Will affect websocket and replay system.