Microsoft Snake Game
Your High Score. Growing snake game User-provided content. And is not endorsed by Microsoft. Thank you for helping keep Microsoft MakeCode a friendly place!
snake-game is a game where you control a snake in an enclosed square without running into the walls or your own body. The snake grows when you run into whatever item you are supposed to run into.
Download the full version of Burger Island® 2: The Missing Ingredient FREE! Play the full version with more features, more levels and better graphics! Download Free Trial. Burger island 2 free download. Help Patty turn around a run-down burger stand on a deserted beach. Play Burger Island free online! Cook up burgers and omelets on your quest for the mythical Great Sauce. Play Burger Island 2: The Missing Ingredient free online!
My snake eats mice:
click to watch on youtube
You can get it to play from githuband hopefully it will work
To be clear, it's fully functional- just click the 'begin' button or run the 'DrawGameBoard' macro to begin and use your arrow keys to navigate.
Sadly, this snake runs on Worksheet_Selection_Change
event. Because I need to store values after exiting the procedure, I couldn't figure out how to implement a Class
.
Some other things I should mention I struggled with -
- Knowing where the end of the snake is to erase it
- Growing the snake when it eats a mouse
- Timing, of course. I think I could use a library?
- Illegal moves - you can't turn backward
- The formatting - it fits my view, but that's pretty local
- Storing the snake's path and current location to retrieve after moving, which means there are a lot of named ranges.
- VBA is not meant for this
I should also note that this snake moves in fixed vectors, meaning left is always to the player's left.
I imagine there's a lot to improve upon and I don't expect anyone to tackle the whole thing.
There are several parts of the game in the same module, but I'll break them apart here for clarity.
Sheet Module
Constants
(and a global)
Create the Board
Timer and Auto-movement
The meat of it
1 Answer
$begingroup$VBA is totally meant for this!! One of the first programs I built in VBA was a snake game. (the following code snippets are from my game)
Here's how I handled some of the things you struggled with.
direction change. For the direction change I used the GetAsyncKeyState
API
And in a method, one of the four direction changes.
Windows Snake Game
End of snake, growing snake, path of snakeThis is actually fairly easy, make your snake an array and only handle the upper and lower bound parts of the array. When the upper bound part of the array lands on a new cell check to see if there is an existing thing in it like a mouse, a wall, or anything else to make a decision. Ultimately change the upper bound color to say green and the lower bound color to nothing. This is how your snake will move around.
This method shows the snake movement, it's doing a few other things so take from it what you will:
Microsoft Snake Game Online
Don't know if that helps on anything, but I couldn't pass up the chance to comment on this post. If anyone likes I could post all of the source code.
Drivers of canon lbp 2900b. Download drivers, software, firmware and manuals for your Canon product and get access to online technical support resources and troubleshooting. We use cookies to provide you with the best possible experience in your interactions with Canon and on our website – find out more about our use of Cookies and change your cookie settings here. Jun 01, 2016 different boxes, printers and many others. Today, I am going to give you the drivers for your Canon LBP 2900b printer. These drivers are compatible with Windows 7, 8, and 8.1 and you can enjoy the best printing experience by installing these drivers. Canon LBP2900B Driver Download Canon LBP2900B Driver Download – The Power up Canon LBP2900B Driver Series, Canon LBP 2900 Driver Windows 7, macOS, Canon LBP2900B Driver Windows 10 64 bit and then the drivers software also support Windows 8.1 / 8.1 x64 bit, Windows XP / XP x64 bit / Linux. And also reduce total print expenses using initial Canon cartridges, Developed with advanced Canon.
Not the answer you're looking for? Browse other questions tagged vbaexcelsnake-game or ask your own question.
Microsoft Snake Game Play
Classic Snake is is a game that usually played when we are young. This game is very great to play in our spare time.Indulge yourself with your old Nokia days, I'm sure everyone of us carry very good moments with our old days Nokia phones which are big with classic illuminated screens, breaks your floor if its dropped from your hands.Iconic elements and intuitive gameplay from the original Classic Snake are combined with cool visual effects, sounds and many new features. The result is a game that will entertain, challenge and delight you time after time!Yet another Classic Snake game.. Why should you be interested while there are so many of those out there (including games with nokia phones of the 90s skins)? Well, here is why:1.BLUETOOTH & WIFI MULTIPLAYER (beta/test version - improvements in progress).2. Possibility of playing vs Classic Snake (try - its not all that easy).3. BUTTONS for control with nice sound & tactile feedback.5. Pleasant Graphics.6. Small but constant updates of the game.Features include:- Rewind the snake to continue the game even after crashing!- Many different types of special food, with unique powers and effects!- 10 levels with distinct visuals and music, unlocked by completing fun and challenging missions!- Food store where boosters and items can be upgraded and purchased, using food that you collect while playing!- Compete against other players for higher scores and rankings on the leaderboards, connect with friends on Facebook and Game Center!- Fill the whole screen with the snake and find out what happens then!Classic Mode: The game you know and love. Control your snake by swiping and eat as much as you can to grow as large as you can. But be careful not to eat your own tail or to crash into walls.Challenge Mode: This Challenge of the classic introduces new mechanics, endless gameplay and vibrant visuals. Eat items that are smaller than you, avoid the obstacles.It's a CLassic Snake game bring you to your old nokia days. This is the classic Nokia simulator for Nokia Home Screen and Classic Snake Game.Press arrow keys to control snake. And eat food to get score. There are 10 levels in Quest mode with 3 levels of difficulty. It's very simple and funny.Happy playing!