Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: jtpalmer/Games-Snake
base: 1d20fde89a
...
head fork: jtpalmer/Games-Snake
compare: 662f349e75
Checking mergeability… Don't worry, you can still create the pull request.
  • 7 commits
  • 5 files changed
  • 0 commit comments
  • 1 contributor
View
4 bin/snake.pl
@@ -3,9 +3,9 @@ package # Hide from PAUSE
snake;
use strict;
use warnings;
-use FindBin qw( $Bin );
-use lib "$Bin/../lib";
use Games::Snake;
+# ABSTRACT: Snake executable
+
Games::Snake->new()->run();
View
6 dist.ini
@@ -2,16 +2,14 @@ name = Games-Snake
author = Jeffrey T. Palmer <jtpalmer@cpan.org>
license = Perl_5
copyright_holder = Jeffrey T. Palmer
-copyright_year = 2011
+copyright_year = 2012
[@Basic]
-[TaskWeaver]
-
[AutoPrereqs]
+[PodWeaver]
[PkgVersion]
-[PodVersion]
[MetaJSON]
[NextRelease]
View
11 lib/Games/Snake.pm
@@ -1,4 +1,6 @@
package Games::Snake;
+use strict;
+use warnings;
use Mouse;
use SDL;
use SDL::Event;
@@ -163,3 +165,12 @@ sub handle_show {
no Mouse;
1;
+
+=pod
+
+=head1 SYNOPSIS
+
+ Games::Snake->new()->run();
+
+=cut
+
View
3  lib/Games/Snake/Level.pm
@@ -1,4 +1,6 @@
package Games::Snake::Level;
+use strict;
+use warnings;
use Mouse;
# ABSTRACT: Level object
@@ -69,3 +71,4 @@ sub draw {
no Mouse;
1;
+
View
3  lib/Games/Snake/Player.pm
@@ -1,4 +1,6 @@
package Games::Snake::Player;
+use strict;
+use warnings;
use Mouse;
# ABSTRACT: Player object
@@ -116,3 +118,4 @@ sub draw {
no Mouse;
1;
+

No commit comments for this range

Something went wrong with that request. Please try again.