ebjaime / Viniminas

The minesweeper's game, only, bombs are Real Madrid's superstar Vinicius JR's head. :bomb:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ’£πŸ’₯πŸ‡§πŸ‡·πŸ’₯πŸ’£

                                                    ____                                                
       ,---.  ,--,                 ,--,           ,'  , `.  ,--,                                        
      /__./|,--.'|         ,---, ,--.'|        ,-+-,.' _ |,--.'|         ,---,                          
 ,---.;  ; ||  |,      ,-+-. /  ||  |,      ,-+-. ;   , |||  |,      ,-+-. /  |              .--.--.    
/___/ \  | |`--'_     ,--.'|'   |`--'_     ,--.'|'   |  ||`--'_     ,--.'|'   |  ,--.--.    /  /    '   
\   ;  \ ' |,' ,'|   |   |  ,"' |,' ,'|   |   |  ,', |  |,,' ,'|   |   |  ,"' | /       \  |  :  /`./   
 \   \  \: |'  | |   |   | /  | |'  | |   |   | /  | |--' '  | |   |   | /  | |.--.  .-. | |  :  ;_     
  ;   \  ' .|  | :   |   | |  | ||  | :   |   : |  | ,    |  | :   |   | |  | | \__\/: . .  \  \    `.  
   \   \   ''  : |__ |   | |  |/ '  : |__ |   : |  |/     '  : |__ |   | |  |/  ," .--.; |   `----.   \ 
    \   `  ;|  | '.'||   | |--'  |  | '.'||   | |`-'      |  | '.'||   | |--'  /  /  ,.  |  /  /`--'  / 
     :   \ |;  :    ;|   |/      ;  :    ;|   ;/          ;  :    ;|   |/     ;  :   .'   \'--'.     /  
      '---" |  ,   / '---'       |  ,   / '---'           |  ,   / '---'      |  ,     .-./  `--'---'   
             ---`-'               ---`-'                   ---`-'              `--`---'                 
                                                                                                         

Image Description

Made thanks to Processing's p5.js, based in Javascript. Its files are included in the repository for easier access to the game. No extra download is necessary. You might choose the number of cells in the game (main.js) and the number of bombs (config.js). It is recommended for the user to have the same number of columns and rows, or the program might give you some problems.

To change game mode, either to pop cells or put flags on cells, you should press the CTRL button. To the right of the minesweeper's area, there is a mode indicator.

Difficulty depends on the number of bombs the user chooses to have.

The numBombas variable in config.js corresponds to the number of bombs you will find in the game. You may change the amount manually.

Usage

To run game, open the viniminas.html, indside the vini_main directory in your browser of preference.

Author

@ebjaime Jaime Enriquez, 2019. πŸ’£

About

The minesweeper's game, only, bombs are Real Madrid's superstar Vinicius JR's head. :bomb:

License:MIT License


Languages

Language:JavaScript 100.0%Language:HTML 0.0%