-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement a rock-paper-scissors game variant
- Loading branch information
Showing
9 changed files
with
791 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
from .avatar_options import AvatarOptions | ||
from .economic_options import EconomicOptions | ||
from .general_options import GeneralOptions | ||
from .rock_paper_scissors_options import RockPaperScissorsOptions | ||
from .user_profile_options import UserProfileOptions | ||
from .waifu_pics_options import WaifuPicsOptions |
15 changes: 15 additions & 0 deletions
15
holobot/extensions/general/options/rock_paper_scissors_options.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from dataclasses import dataclass | ||
from typing import ClassVar | ||
|
||
from holobot.sdk.configs import OptionsDefinition | ||
|
||
@dataclass | ||
class RockPaperScissorsOptions(OptionsDefinition): | ||
section_name: ClassVar[str] = "General" | ||
|
||
RockEmojiId: int | ||
RockEmojiName: str | ||
PaperEmojiId: int | ||
PaperEmojiName: str | ||
ScissorsEmojiId: int | ||
ScissorsEmojiName: str |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
from .fortune_cookie_workflow import FortuneCookieWorkflow | ||
from .magic_eight_ball_workflow import MagicEightBallWorkflow | ||
from .react_workflow import ReactWorkflow | ||
from .rock_paper_scissors_workflow import RockPaperScissorsWorkflow | ||
from .roll_number_workflow import RollNumberWorkflow | ||
from .summon_user_workflow import SummonUserWorkflow |
Oops, something went wrong.