Skip to content

Commit

Permalink
Prep for stream
Browse files Browse the repository at this point in the history
  • Loading branch information
tredfern committed Jan 9, 2021
1 parent 85c32cc commit 9564e22
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 41 deletions.
24 changes: 24 additions & 0 deletions docs/sessionnotes/20210109.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## Session Plan
*Jan 9, 2021*

**Goal**
- Introduce concept of "turns"
- When player executes an action, it's also trigger an end of the players turn
- Provide a complex action that processes the players action and then executes the turn logic
- Introduce concept of AI processing for characters
- AI can trigger "moves"
- Moves can attack player (or other characters)

**Bonus Round**
- Character can enter a name
- Stats UI displaying some basic information

**Refactor Fun**
- Game set up should be in the *rules* folder and a complex action that configures the state

### Notes

```mermaid
graph LR;
A-->B
```
3 changes: 0 additions & 3 deletions game/app.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ local function set_up_the_game()
end

function app.load()
-- Load state machine
local gsm = require "game.game_state_machine"
gsm.initialize()
app.title()
end

Expand Down
23 changes: 0 additions & 23 deletions game/game_state_machine.lua

This file was deleted.

15 changes: 0 additions & 15 deletions game/game_state_machine_spec.lua

This file was deleted.

0 comments on commit 9564e22

Please sign in to comment.