-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
27133a3
commit a77152c
Showing
4 changed files
with
10 additions
and
19 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,29 @@ | ||
defmodule ViralSpiral.Game do | ||
alias ViralSpiral.Game.Room | ||
alias ViralSpiral.Game.State | ||
|
||
@spec create_room(String.t()) :: Room.t() | ||
def create_room(name) do | ||
def create_room(_name) do | ||
end | ||
|
||
@spec join_room(String.t(), String.t()) :: Room.t() | ||
def join_room(name, password) do | ||
def join_room(_name, _password) do | ||
end | ||
|
||
def pass_card(state, player, to) do | ||
def pass_card(_state, _player, _to) do | ||
end | ||
|
||
def keep_card(player) do | ||
def keep_card(_player) do | ||
end | ||
|
||
def discard_card(player) do | ||
def discard_card(_player) do | ||
end | ||
|
||
def turn_to_fake(player, card) do | ||
def turn_to_fake(_player, _card) do | ||
end | ||
|
||
def cancel_player(player, target) do | ||
def cancel_player(_player, _target) do | ||
end | ||
|
||
def viral_spiral(player, targets) do | ||
def viral_spiral(_player, _targets) do | ||
end | ||
end |
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