-
Notifications
You must be signed in to change notification settings - Fork 3
TP. Test Pattern
Michael Kechinov edited this page Aug 6, 2018
·
3 revisions
Available scenarios:
- TP-1. A user sees modal dialog
- TP-2. A user selects saved battle to test.
- TP-3. A user scrolls timeline of the chosen battle.
- TP-4. A user selects a snek to test.
- TP-5. A user sees how a pattern works in the current situation.
- TP-6. A user closes modal dialog.
- User sees the modal dialog:
- Close button
- Saved battle selector
- Battle rounds timeline
- Battle arena with the current situation on a field.
- Selected pattern
- Log field of pattern matching process
Variants:
- If the user doesn't have saved battles, the modal dialog shows a message about it.
- User clicks on saved battles list dropdown
- User sees a list of battles - type and ID.
- User clicks on any battle.
- Dropdown closes.
- Selected battle arena appears in arena area.
- Rounds timeline length sets to the battle length and on 0 round.
- Sneks lists renders with current selected arena and round sneks.
- Log area clears.
- User drags timeline marker left or right.
- Current round appears near the timeline.
- Arena renders to the situation of the selected round.
- By default the first snek is selected.
- User clicks on snek on the arena.
- Selected sneks becomes highlighted.
- Other sneks become lowlighted.
- User sees a lof of events with the pattern: rotations, flips, random move.
- User sees arrow from the head of the snek which shows move direction.
- User clicks on "X" button.
- Dialog closes.
- User sees RE. Rules Editor