Skip to content

jar1karp/samegame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript/canvas implementation of SameGame.

    The rules of the game are as follows:

        1. You may remove pieces provided at least two are adjacent either 
           horizontally or vertically.

        2. Let n = number of removed pieces. Then score += (n-1)².

        3. If you remove all pieces, your score will be doubled.

        4. The game ends when you have removed all pieces or there are no 
           removable pieces.

AUTHORS

    Jari Karppinen <jari.p.karppinen at, gmail.com>

COPYING

    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 <https://www.gnu.org/licenses/>.

About

JavaScript/canvas implementation of SameGame.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published