Skip to content

Commit

Permalink
Version 1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Eliastik committed Oct 7, 2019
1 parent 26c5d7a commit f5b32d5
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Game written in pure JavaScript and object oriented.

## About this game

* Version: 1.4.1
* Version: 1.4.2
* Made in France by Eliastik - [eliastiksofts.com](http://eliastiksofts.com) - Contact : [eliastiksofts.com/contact](http://eliastiksofts.com/contact)
* License: GNU GPLv3 (see LICENCE.txt file)

Expand All @@ -27,6 +27,10 @@ Game written in pure JavaScript and object oriented.

## Changelog

* Version 1.4.2 (10/7/2019) :
- Added a labyrinth mode: it's now possible to generate mazes. The goal is to find the path to the apple through the maze. Levels of this type are also possible (to download later).
- Bug fixes and other adjustments.

* Version 1.4.1 (9/29/2019) :
- The movement of the Snakes is now animated;
- The player's Snake is indicated by an arrow in a game with several AI opponents;
Expand Down Expand Up @@ -111,7 +115,7 @@ Jeu programmé en JavaScript pur et en orienté objet.

## À propos du jeu

* Version du jeu : 1.4.1
* Version du jeu : 1.4.2
* Made in France by Eliastik - [eliastiksofts.com](http://eliastiksofts.com) - Contact : [eliastiksofts.com/contact](http://eliastiksofts.com/contact)
* Licence : GNU GPLv3 (voir le fichier LICENCE.txt)

Expand All @@ -126,6 +130,10 @@ Jeu programmé en JavaScript pur et en orienté objet.

## Journal des changements

* Version 1.4.2 (07/10/2019) :
- Ajout d'un mode labyrinthe : il est désormais possible de générer des labyrinthes. Le but est de trouver le chemin vers la pomme à travers le labyrinthe. Des niveaux de ce type sont également possibles (à télécharger ultérieurement).
- Corrections de bugs et autres ajustements.

* Version 1.4.1 (29/09/2019) :
- Le déplacement des Snake est désormais animé, rendant le jeu plus fluide ;
- Le Snake du joueur est désigné par une flèche lors d'une partie avec plusieurs adversaires IA ;
Expand Down
6 changes: 3 additions & 3 deletions assets/js/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ IMAGE_SNAKE_SATURATION = 50;
IMAGE_SNAKE_VALUE = 77;
CAR_TO_PRERENDER = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "×"];
// Infos
APP_VERSION = "1.4.1";
DATE_VERSION = "09/29/2019";
APP_VERSION = "1.4.2";
DATE_VERSION = "10/07/2019";

// Return an integer between min (inclusive) and max (inclusive)
function randRange(min, max) {
Expand Down Expand Up @@ -269,7 +269,7 @@ Position.prototype.indexIn = function(array) {
}

return -1;
}
};

function Grid(width, height, generateWalls, borderWalls, maze, customGrid) {
this.width = width == undefined ? 20 : width;
Expand Down
2 changes: 1 addition & 1 deletion assets/js/i18next.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/i18nextBrowserLanguageDetector.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with "SnakeIA". If not, see <http://www.gnu.org/licenses/>.
*/
const CACHE_BASENAME = 'snake-ia';
const CACHE_VER = '-v1.4.1';
const CACHE_VER = '-v1.4.2';
const CACHE = CACHE_BASENAME + CACHE_VER;

const CACHE_URLS = [
Expand Down

0 comments on commit f5b32d5

Please sign in to comment.