Skip to content

Commit 8fb82a3

Browse files
committed
Remove unnecessary method declarations in connect4.p6
1 parent cf8595c commit 8fb82a3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

games/connect4.p6

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1+
use v6;
2+
13
# pre-declare types
24
class Game { ... };
35
class Move { ... };
46

57
class Player {
68
has Str $.token;
79
has Str $.highlighter_token;
8-
#method token { ... }
9-
#method highlighter_token { ... }
1010

1111
method get_move( Game $game ) { ... };
1212
}
@@ -26,7 +26,7 @@ class HumanPlayer is Player {
2626
return $move;
2727
}
2828
else {
29-
say "move must be a legal (not full) column number"
29+
say "move must be a legal (not full) column number";
3030
}
3131
}
3232

@@ -276,3 +276,5 @@ class Move {
276276

277277
my Game $game.=new( player_types => ( "H", 2 ) );
278278
$game.play_game;
279+
280+
# vim: expandtab shiftwidth=4 ft=perl6

0 commit comments

Comments
 (0)