Apian-Framework / BeamGameCode

Engine-independent C# core game code for Beam
0 stars 0 forks source link

Separate current ModePlay into 2 separate ModeNetConnect and ModeNetPlay modes #31

Closed jimkberry closed 2 years ago

jimkberry commented 2 years ago

In the current Beam app contains mode for the Splash screen (with a local ai-only game playing), for practice (with a local, user-controllable game playing) and ModePlay - which connects to a network then creates or joins a game, and then plays the game.

In practice it turns out that connecting to the network and joining/playing a network game are 2 separate tasks - in the sense that:

Basically the act of selecting and joining a network should happen separately from selecting and joining a game and it should present different information and choices.

Ok. Too much typing. Here's what should happen:

Current question is whether ModeNetConnect should push() to ModeNetPlay, or switch(). Since ModeNetConnect doesn't own any of the network resources, I think using the push/pop stack is probably just unnecessary added structure.

jimkberry commented 2 years ago

Oops. Missed closing this