Browse files

add license

  • Loading branch information...
1 parent e7eec6c commit 7b98a16dfbd79df9060cc1a970c1a0b69d407a8a @iamdey committed Sep 12, 2011
Showing with 187 additions and 1 deletion.
  1. +5 −0 arts/COPYING
  2. +19 −1 libs/ai.js
  3. +17 −0 libs/common.js
  4. +18 −0 libs/entity.js
  5. +18 −0 libs/game.js
  6. +17 −0 libs/game_sound.js
  7. +18 −0 libs/map.js
  8. +19 −0 libs/map_item.js
  9. +18 −0 libs/player.js
  10. +19 −0 libs/tilemap.js
  11. +19 −0 libs/ui.js
View
5 arts/COPYING
@@ -0,0 +1,5 @@
+Some of arts are not fully free
+
+
+This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
+<http://creativecommons.org/licenses/by-sa/3.0/>
View
20 libs/ai.js
@@ -1,3 +1,21 @@
+// Monorail Cat - The Game
+// Copyright (C) 2011 Didjor, esion, Fred_o, Macha__, speedyop, zouip
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+
var DEFAULT_AI_NAME = "Catputer";
var ITEM_CHECK_INTERVAL = FRAMERATE * .5;
@@ -124,4 +142,4 @@ Ai.prototype = {
}
}
}
-
+
View
17 libs/common.js
@@ -1,3 +1,20 @@
+// Monorail Cat - The Game
+// Copyright (C) 2011 Didjor, esion, Fred_o, Macha__, speedyop, zouip
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
function e(bloc) {
return document.getElementById(bloc);
}
View
18 libs/entity.js
@@ -1,3 +1,21 @@
+// Monorail Cat - The Game
+// Copyright (C) 2011 Didjor, esion, Fred_o, Macha__, speedyop, zouip
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+
// Game parameters
var TILE_SIZE = 79;
var NB_LIVES = 9;
View
18 libs/game.js
@@ -1,3 +1,21 @@
+// Monorail Cat - The Game
+// Copyright (C) 2011 Didjor, esion, Fred_o, Macha__, speedyop, zouip
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+
var FRAMERATE = 30;
var GAME_ID = "gameBoard";
var MUSIC = true;
View
17 libs/game_sound.js
@@ -1,3 +1,20 @@
+// Monorail Cat - The Game
+// Copyright (C) 2011 Didjor, esion, Fred_o, Macha__, speedyop, zouip
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
/**
* GameSound manager
*
View
18 libs/map.js
@@ -1,3 +1,21 @@
+// Monorail Cat - The Game
+// Copyright (C) 2011 Didjor, esion, Fred_o, Macha__, speedyop, zouip
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+
/**
* class Map
*
View
19 libs/map_item.js
@@ -1,3 +1,22 @@
+// Monorail Cat - The Game
+// Copyright (C) 2011 Didjor, esion, Fred_o, Macha__, speedyop, zouip
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+
+
// Item names
var NO_ITEM = false;
var WOOLBALL = "woolball";
View
18 libs/player.js
@@ -1,3 +1,21 @@
+// Monorail Cat - The Game
+// Copyright (C) 2011 Didjor, esion, Fred_o, Macha__, speedyop, zouip
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+
var RIGHT = "right";
var LEFT = "left";
var UP = "up";
View
19 libs/tilemap.js
@@ -1,3 +1,22 @@
+// Monorail Cat - The Game
+// Copyright (C) 2011 Didjor, esion, Fred_o, Macha__, speedyop, zouip
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+
+
/**
* Représentation du niveau de jeu
*
View
19 libs/ui.js
@@ -1,3 +1,22 @@
+// Monorail Cat - The Game
+// Copyright (C) 2011 Didjor, esion, Fred_o, Macha__, speedyop, zouip
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+
+
/*
* Manipulation de l'interface utilisateur autour du jeu (compteurs de vies, items, messages)
*

0 comments on commit 7b98a16

Please sign in to comment.