Skip to content

Commit

Permalink
chore: update demo (#79)
Browse files Browse the repository at this point in the history
* chore: minor improvements

* chore: update demo
  • Loading branch information
igor-sirotin authored Jul 14, 2024
1 parent 6caabe8 commit 17d1463
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 999 deletions.
4 changes: 1 addition & 3 deletions cmd/2sp/demo/demo.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,7 @@ func (d *Demo) issueSubRoutine(issueID protocol.IssueID, votes []string) error {
}
time.Sleep(1 * time.Second)

// Reveal votes
d.sendShortcut(commands.DefaultKeyMap.RevealVotes)
d.logger.Info("votes revealed")
// Wait for votes auto-revealed
err = d.waitForStateCondition(d.events, func(state *protocol.State) bool {
return state.VotesRevealed
})
Expand Down
453 changes: 0 additions & 453 deletions docs/demo-cut.cast

This file was deleted.

528 changes: 0 additions & 528 deletions docs/demo.cast

This file was deleted.

Binary file modified docs/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/demo.mov
Binary file not shown.
1 change: 0 additions & 1 deletion docs/demo.svg

This file was deleted.

2 changes: 1 addition & 1 deletion pkg/game/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ var defaultConfig = configuration{
StateMessagePeriod: 30 * time.Second,
PublishStateLoopEnabled: true,
AutoRevealEnabled: true,
AutoRevealDelay: 2 * time.Second,
AutoRevealDelay: 1 * time.Second,
}
13 changes: 0 additions & 13 deletions scripts/convert_demo.sh

This file was deleted.

0 comments on commit 17d1463

Please sign in to comment.