Brunot
Loading...
Searching...
No Matches
Table.cpp File Reference

The component responsible for facilitating the gameplay. More...

Include dependency graph for Table.cpp:

Functions

auto to_json (json &j, const Table &t) ->void
auto from_json (const json &j, Table &t) ->void

Detailed Description

The component responsible for facilitating the gameplay.

This class NEEDS a board, a deck, and players to function properly, as gameplay cannot function without it.

Warning
If the Players, Deck, and Board aren't children of Table, then it will crash
Table ---------------------
| | |
v v v
Player(s) Deck Board
Author
Ori Balashov (ori.b.nosp@m.alas.nosp@m.hov@d.nosp@m.igip.nosp@m.en.ed.nosp@m.u) Refactor and New Implementation Bryley Elder (bryle.nosp@m.y.el.nosp@m.der@d.nosp@m.igip.nosp@m.en.ed.nosp@m.u) Original Implementation and added scoring handling
Date
2026 / 01 / 16

Function Documentation

◆ from_json()

auto from_json ( const json & j,
Table & t )->void

◆ to_json()

auto to_json ( json & j,
const Table & t )->void