Advertisement
Guest User

Github snake menu mod

a guest
Nov 11th, 2024
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.69 KB | None | 0 0
  1. -
  2. Download Here --> https://tinyurl.com/5eabk3ee (Copy and Paste Link)
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9. How To Install the Github Snake Mod Menu for Google Snake Game? A Complete Guide and Much More
  10. Everyone wants to play the Google Snake Mod Menu game but doesn’t know how to get the GitHub snake mod menu to be played on your browser.
  11. In this tutorial, we’ll teach you how to install the Google snake mod menu on your browser so that you can play the Google Snake game with all those cool mods. We will go through the process step-by-step so that you can follow along easily and enjoy your game.
  12. Note: Since Google Snake is a game played on browsers, you can install the Github Snake Menu Mod on any browser. (Chromebook is also compatible)
  13. Image source: Screenshot of the game
  14. Google Snake Mod Menu (also searched for as Github Snake Mod Menu)
  15. Google Snake is a simple snake game that’s played on a web browser. You don’t have to install its files on a computer to play this game, but you have to download a folder and tweak a setting or two of your browser to be able to play this game with mods.
  16. Since this game is from Google, It allows everyone to make tweaks and mods for this game.
  17. Github Snake mod menu is open source and available for free on Github. A lot of people search for menu mod for this game by typing Github Snake Mod Menu on Google hoping that they will eventually find an article that teaches them how to mod this Google Snake game on their web browsers.
  18. If you’re one of those people, you’re at the right place because what awaits later in the article is a complete step-by-step guide on how to get the Github snake mod menu for Google Snake.
  19. Why Install the Github Snake Mod Menu?
  20. We are aware that a lot of you might be wondering why this game mod needs to be installed on a browser in order to play it. Usually, browser-based games can be played just by going to their web pages and the game starts, ready to be played.
  21. Players nowadays don’t like to play with things that come right from the box. They want accessories, modifications, and customizations. Imagine playing Fortnite without those aesthetic skins.
  22. With modifications, every game is boring and colorless. What we want is more and more features in a game. Google Snake game comes with just a snake that goes around here and there to find food. With the Github Snake Mod Menu, the players have the option to play with lots of mods. They can choose a tortoise as a playable character rather than a snake.
  23. You can actually play this game on your web browser directly without having to install anything but you won’t be able to enjoy the Game Mods that really make the game a whole new experience. (And that is exactly why you’re here, to install the snake mod menu in the game)
  24. So, in order for you to play this game with mods, you have to follow the tutorial that fully explains how to install the Github snake mod menu on your web browser.
  25. Now that you know what the game mod is about and why it needs to be installed on your web browser, let’s hop right into the tutorial.
  26. How to Install the Github Snake Mod Menu on your Web Browser
  27. In order to install this game mod for the Google Snake game, follow these steps carefully so that you can enjoy your game with all the cool mods.
  28. Step 1: Go to your search bar and type “github.com”
  29. Step 2: in the upper right corner, you’ll see the Github search bar. Type “google snake” and hit enter.
  30. Step 3: You’ll see a number of results, the first is what you’re looking for. Click on it.
  31. Step 4: It’ll open another Github page. On the right side, middle of the page, you’ll see “Releases”. Below that will be your game “Google Snake Mod Menu”, Click on it.
  32. Step 5: The web page of this game on Github will be in front of you by now. Click on “MoreMenu.html” (You’ll see that a file will be downloaded by your browser).
  33. Step 6: Now, press the three dots at the upper right corner of your browser, go to Bookmarks and then click on Bookmark manager. (See the pic below)
  34. Step 7: in the bookmark manager, press the three dots (right next to the Bookmark search bar) and press import bookmarks.
  35. Step 8: Now you have to locate the file “ModeMenu.html” and open it via the window that opened in front of you. You’ll now see a new folder named “Imported”
  36. Step 9: Now that the installation is complete, all you have to do is to go to Google and search, “ Google Snake”.
  37. Step 10: The game will pop right in front of you but you’ll notice that there are still no mods showing in the mod menu. What you have to do is to click the “Imported” that’s showing in the bookmark bar and click More Menu Stuff.
  38. Wait for like 4-5 seconds or reload the page. What you’ll see now is that when you click the game mod menu, there will be a ton of mods for you to play within the game, thanks to the Github Snake Mod Menu.
  39. That’s it. Your game can now be played with lots of mods. That was easy, right?
  40. Now, this makes you wonder how many customization options there are in the Github Snake Mod Menu.
  41. What Customization Options There are in Github Snake Mod Menu?
  42. As mentioned above, there are a lot of customization options available for Google Snake once you install the Github Snake Mod Menu.
  43. You can control the speed of your snake by choosing three of the following options:
  44. The Snake (Default): The snake goes with a normal speed
  45. The Rabbit: The snake will go with a faster speed
  46. The Tortoise: Your Snake will go with a slow speed
  47. You can choose three options when it comes to the board size.
  48. You can choose how far the blocks will be in your board by choosing from these three. If you want a small board with big blocks, choose the one in the middle.
  49. If you want a large board with small blocks, choose the one in the right, otherwise left (the default).
  50. Snake Colour
  51. You can choose a lot of colors. You will find this option in the last line where their different colored snakes in circles.
  52. Food Symmetry
  53. This doesn’t do anything special. Upon testing this mod in the game, we found out that this symmetry of food objects comes right in front of you only when the game starts. The food object comes randomly as the game goes.
  54. Nevertheless, You can choose three of them as shown in the picture below.
  55. Food Objects
  56. You can choose a variety of food objects in the game. However, they don’t change the gameplay, you can still enjoy this modification by trying new objects. As they say, “It pleases the eyes”.
  57. Now this one has a lot of customization options and mods. There are so many that we’ll cover only a few of them. They change the whole gameplay by giving this game a new life.
  58. Let’s see how they change the gameplay.
  59. The Trophy: Changes nothing
  60. The Wall: Puts walls randomly in the game in place of food. Once the snake hits them, it dies.
  61. The Portal: Puts trees in the game blocks. These trees act as portals. The snake is transported to another tree.
  62. The Cheese: Cuts your snake one block each. You can travel through your snake where it is cut.
  63. See the image below for a better understanding.
  64. There are a lot of other mods as well that make playing this game really interesting and enjoyable.
  65. FAQs About Github Snake Mod menu
  66. Here are some of the most frequently asked questions, answered.
  67. How do I get the snake mod menu?
  68. You can get the Github snake mod menu by installing the bookmark in your browser. If you don’t know how to do that, this article contains a step-by-step tutorial on how to install the snake mod menu for Google Snake on your web browser.
  69. What is the best snake mod?
  70. There are lots of snake mods for Google snake. To deduce what the best snake mod is, head to our article where we explain each mod and provide you with a complete tutorial on how to install these mods for Google snake.
  71. How do I install Google Snake mods?
  72. To install Google snake mods, you’ll have to download the Github snake mod menu. After installing this file, import it into the Bookmark manager of your browser. You can open this article for a complete guide on how to install the Google Snake mods.
  73. ShehanAT / main.py
  74. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
  75. import pygame import pygame_menu import random import sys from typing import Tuple , Any from math import isclose pygame . init () display_width = 600 display_height = 400 black = ( 0 , 0 , 0 ) white = ( 255 , 255 , 255 ) red = ( 255 , 0 , 0 ) ''' Game difficulty is assigned the following values: * Easy = 25 * Medium = 50 * Hard = 100 ''' difficulty = 25 ; win = pygame . display . set_mode (( display_width , display_height )) pygame . display . set_caption ( 'Snake Game by Shehan Atukorala' ) clock = pygame . time . Clock () player_name = '' ; default_player_name = True ; def setup_snake_food (): new_food_position = [ random . randrange ( 1 , ( display_width // 10 )) * 10 , random . randrange ( 1 , ( display_height // 10 )) * 10 ] return new_food_position def setup_collision_obj (): new_collision_obj = [ random . randrange ( 1 , ( display_width // 10 )) * 10 , random . randrange ( 1 , ( display_height // 10 )) * 10 ] return new_collision_obj def set_game_difficulty ( selected : Tuple , value : Any ): if ( value == 1 ): difficulty = 25 elif ( value == 2 ): difficulty = 50 elif ( value == 3 ): difficulty = 100 else : difficulty = 25 def show_game_score ( font , size , game_score ): game_score_font = pygame . font . SysFont ( font , size ); game_score_surface = game_score_font . render (( player_name + "'s Game Score: " + str ( game_score )), True , white ) game_score_rect = game_score_surface . get_rect () game_score_rect . midtop = ( display_height , 15 ) win . blit ( game_score_surface , game_score_rect ) def show_collision_obj ( collision_obj_position , snake_width , snake_height ): collision_obj_rect = pygame . Rect ( collision_obj_position [ 0 ], collision_obj_position [ 1 ], snake_width , snake_height ) collision_obj_image = pygame . image . load ( "./red-brick-wall.jpg" ) collision_obj_image_resize = pygame . transform . scale ( collision_obj_image , ( snake_width , snake_height )) win . blit ( collision_obj_image_resize , collision_obj_rect ) def set_player_name ( name ): global player_name ; global default_player_name ; player_name = name ; default_player_name = False ; def set_default_player_name (): global player_name ; global default_player_name ; player_name = "Guest" default_player_name = False def show_start_screen (): start_menu = pygame_menu . Menu ( width = display_width , height = display_height , title = 'Welcome to Snake Game!' , theme = pygame_menu . themes . THEME_BLUE ); start_menu . add . text_input ( "Your Name: " , default = "Guest" , onchange = set_player_name ); start_menu . add . selector ( "Difficulty: " , [( "Easy" , 1 ), ( "Medium" , 2 ), ( "Hard" , 3 )], onchange = set_game_difficulty ); start_menu . add . button ( "Play" , game_loop ); start_menu . add . button ( "Quit" , pygame_menu . events . EXIT ); if default_player_name : set_default_player_name (); start_menu . mainloop ( win ) def replay_game (): game_loop () def show_end_screen ( game_score ): end_menu = pygame_menu . Menu ( width = display_width , height = display_height , title = 'Game Over' , theme = pygame_menu . themes . THEME_BLUE ); end_menu . add . label ( "Your Score:" + str ( game_score )); end_menu . add . button ( "Replay Game" , replay_game ); end_menu . add . button ( "Quit Game" , pygame_menu . events . EXIT ); end_menu . mainloop ( win ) def game_loop (): x = display_width / 2 y = display_height / 2 snake_position = [ display_width / 2 , display_height / 2 ] snake_body = [[ display_width / 2 , display_height / 2 ], [( display_width / 2 ) - 10 , display_height / 2 ], [( display_width / 2 ) - ( 2 * 10 ), display_width / 2 ]] snake_width = 20 snake_height = 20 snake_speed = 5 snake_direction = "UP" new_direction = snake_direction gameExit = False game_score = 0 ; food_position = setup_snake_food () show_food = True collision_obj_position = setup_collision_obj () show_collision = True while not gameExit : pygame . time . delay ( 10 ) for event in pygame . event . get (): if event . type == pygame . QUIT : run = False keys = pygame . key . get_pressed () if keys [ pygame . K_ESCAPE ]: pygame . quit () sys . exit () break if keys [ pygame . K_LEFT ]: new_direction = "LEFT" ; if keys [ pygame . K_RIGHT ]: new_direction = "RIGHT" ; if keys [ pygame . K_UP ]: new_direction = "UP" ; if keys [ pygame . K_DOWN ]: new_direction = "DOWN" ; if snake_direction != "UP" and new_direction == "DOWN" : snake_direction = new_direction if snake_direction != "DOWN" and new_direction == "UP" : snake_direction = new_direction if snake_direction != "LEFT" and new_direction == "RIGHT" : snake_direction = new_direction if snake_direction != "RIGHT" and new_direction == "LEFT" : snake_direction = new_direction if snake_direction == "UP" : snake_position [ 1 ] -= snake_speed if snake_direction == "DOWN" : snake_position [ 1 ] += snake_speed ; if snake_direction == "LEFT" : snake_position [ 0 ] -= snake_speed ; if snake_direction == "RIGHT" : snake_position [ 0 ] += snake_speed ; snake_body . insert ( 0 , list ( snake_position )); if isclose ( snake_position [ 0 ], food_position [ 0 ], abs_tol = 5 ) and isclose ( snake_position [ 1 ], food_position [ 1 ], abs_tol = 5 ): game_score += 10 ; show_food = False ; else : snake_body . pop (); if isclose ( snake_position [ 0 ], collision_obj_position [ 0 ], abs_tol = ( snake_width - 10 )) and isclose ( snake_position [ 1 ], collision_obj_position [ 1 ], abs_tol = ( snake_height - 10 )): show_end_screen ( game_score ); if not show_food : food_position = setup_snake_food (); show_food = True ; if not show_collision : collision_obj_position = setup_collision_obj (); show_collision = True ; win . fill ( black ); for pos in snake_body : pygame . draw . rect ( win , ( 255 , 255 , 255 ), pygame . Rect ( pos [ 0 ], pos [ 1 ], snake_width / 2 , snake_height / 2 )); pygame . draw . rect ( win , ( 255 , 0 , 255 ), ( food_position [ 0 ], food_position [ 1 ], snake_width / 2 , snake_height / 2 )); show_collision_obj ( collision_obj_position , snake_width , snake_height ); if snake_position [ 0 ] ( display_width - snake_width / 2 ): show_end_screen ( game_score ); if snake_position [ 1 ] ( display_height - snake_height / 2 ): show_end_screen ( game_score ); show_game_score ( 'consolas' , 20 , game_score ) pygame . display . update (); clock . tick ( difficulty ); show_start_screen ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement