Skip to content

Instantly share code, notes, and snippets.

@azz0r
Last active November 3, 2019 13:18
Show Gist options
  • Select an option

  • Save azz0r/182a9cadae90205688bfe70c7852536d to your computer and use it in GitHub Desktop.

Select an option

Save azz0r/182a9cadae90205688bfe70c7852536d to your computer and use it in GitHub Desktop.
FedSimulatorStory.md

Story Mode

Goals

  • Make use of data and simulations to engage users longer
  • Create an interactive bout with branching stories taken from fedsimulatorstory.com
  • Mono repo the app

TODO https://github.com/wojtekmaj/react-calendar - schedule view

Notes

  • episodesPerSeason episodes per season
  • Count seasons played
  • Start -> Dashboard -> Show X -> Dashboard X ->
  • Character highlighted via url

Tech

  • Bout story simulator will be a component with a reducer and have JSON import and export
game: {
    currentSeason: 0,
    currentEpisode: 0,
    currentItemId: 1,
    currentStreak,
    currentRank: 0,
    maxDiffFromChampion: 20,
    maxRank: 5,
    pointsPerLoss: 1,
    pointsPerWin: 2,
    minDiffFromChampion: 5,
    episodesPerSeason: 20,
}

Start

  • You can only select titles within range of your rank
  • Before starting you must a championship, then a wrestler - that wrestler must be within the same rank and maxDiffFromChampion points of the current champion
  • After selecting the wrestler its points should be updated to -maxDiffFromChampion of the champion
+--------------------------------------+
|--------------------------------------|
||                   ||               ||
||                   ||               ||
|| v   Choose a      ||               ||
||     championship  ||               ||
||                   ||               ||
||                   ||               ||
|---------------------|    Start      ||
|---------------------|               ||
||                   ||               ||
||                   ||               ||
||  v  Choose a      ||               ||
||     Wrestler      ||               ||
||                   ||               ||
||              +    ||               ||
||              |    ||               ||
+--------------------------------------+
                |
                +------------+
                             |
                             v
+--------------------------------------+
|--------------------------------------|
||                   |-----------------|
||                   |-|  select item|-|
|| v   Choose a      |-|             |-|
||     championship  |-----------------|
||                   |-|  select item|-|
||                   |-|             |-|
|--------------------------------------|
|----------------------|  select item|-|
||                   |-|             |-|
||                   |-----------------|
||  v  Choose a      |-|  select item|-|
||     Wrestler      |-|             |-|
||                   |-----------------|
||                   |-|  select item|-|
||                   |-|             |-|
+--------------------------------------+

Dashboard

  • No other brand visible, only the currently selected wrestler
  • No tag team column
  • No segments
  • Next button goes to next weekly show
  • Curent player is highlighted
  • Up and down arrows compared to last dashboard
  • Sometimes a number of simulations will auto run - the simulator should pop up
+--------------------------------------+
|wrestler name              +----------|
|win loss, points           | next    ||
|season, episode, rank      +----------|
+--------------------------------------+
||  title were ||  number one contender|
||  after      ||                     |+
|--------------------------------------|
||  lower title||  wrestler           ||
||             ||  highlighted if you ||
|--------------------------------------|
||  lower title||  wrestler           ||
||             ||                     ||
|--------------------------------------|
||  lower title||  wrestler           ||
||             ||                     ||
|--------------------------------------|
||  lower title||  wrestler           ||
||             ||                     ||
|--------------------------------------|
+--------------------------------------+

Show

  • Generated bouts from the same brand, including one for you
  • Click other matches to reach simulating yours depending on match order
  • Branching bout to get to winner, certain choices will favour you or your opponent
  • When your point amount is zero you are the loser
  • Winning a bout on the show gives you pointsPerWin points
  • Losing a bout on the show takes pointsPerLoss point
  • You must get within minDiffFromChampion points of the champion to become #1 contender before a ppv
  • Every 5th event is a PPV for the month the user is in
  • After each show you are returned to the dashboard
+-----------------------------------------+
| Show                                    |
| Show name, season, episode              |
|                                         |
| +-------------------------------------+ |
| |---------+    |---------+ |----------| |
| ||wrestler| vs ||wrestler| ||simulate|| |
| |---------+    |---------+ |----------| |
| +-------------------------------------+ |
|                                         |
| +-------------------------------------+ |
| |---------+    |---------+ |----------| |
| ||wrestler| vs ||wrestler| ||simulate|| |
| |---------+    |---------+ |----------| |
| +-------------------------------------+ |
|                                         |
| Main Bout                               |
| +-------------------------------------+ |
| |---------+    |---------+ |----------| |
| ||wrestler| vs ||wrestler| ||simulate|| |
| |---------+    |---------+ |----------| |
| +-------------------------------------+ |
+-----------------------------------------+

Bout Simulation

+-----------------------------------------+
|                                         |
| |---------+    |---------+ |----------| |
| ||wrestler| vs ||wrestler| ||sim|late|| |
| |---------+    |---------+ |----------| |
| |-------------------------------------| |
| +-------------------------------------+ |
| |                          +--------+ | |
| | Select next move         |simulate| | |
| |                          +--------+ | |
| | +-----------------+---------------+ | |
| | | punch           | kick          | | |
| | +---------------------------------+ | |
| | +---------------------------------+ | |
| | |wrestler a|wrestler b %          | | |
| | +---------------------------------+ | |
| +-------------------------------------+ |
|                                         |
+-----------------------------------------+

stage 4 - Won the title

  • Once you win the title, you either select someone within -maxDiffFromChampion points of you or vacate the title to go after the next one in the ranking.
|-----------------------------------------|
||                                       ||
||   You won the championship!           ||
||                                       ||
|-----------------------------------------|
|-----------------------------------------|
||                   ||                  ||
||  Vacate title     ||  Challenge you!  ||
||                   ||                  ||
||  Choose your next ||  Choose your next||
||  Championship     ||  Wrestler        ||
||                   ||                  ||
|-----------------------------------------|
+-----------------------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment