# I Built Snake in Excel With a Global Leaderboard

## Метаданные

- **Канал:** Coding Is Fun
- **YouTube:** https://www.youtube.com/watch?v=jPxX1eDVjts
- **Источник:** https://ekstraktznaniy.ru/video/44547

## Транскрипт

### Segment 1 (00:00 - 04:00) []

All right, so I created snake right inside excel. So here I have a normal workbook and inside this workbook if I click on this button here, I will get a new worksheet and inside this worksheet I can now play snake. So as you might know you try to eat as many apples as you can and you're controlling the snake with your arrow keys on your keyboard and the game is over as soon as you hit the wall or if you are biting yourself. So for example here if I'm crashing into the wall now the game is over. All right, now here's the cool part. Currently my score is 18 as you can also see here and my personal high score is 132 which is also saved locally on my computer. However, I also included a global leaderboard. So that means if you are making it into the global leaderboard you will also get a message box like this asking you if you want to submit your high score to the global leaderboard. So let me do this and click on yes here and now your score will be submitted to the global leaderboard and the leaderboard will be updated. Now currently as I'm just releasing the add-in there are only two persons in the high score which is me and myself. But if you're making it into the global leaderboard then your name will be also listed here. All right and with that let me also show you a couple of settings. So if you click on the settings icon you can change the snake color and you can also set the difficulty. So that means how fast the snake is and the faster the speed the more scores you're getting. So currently I was playing it on hard but if you want you can also try the other modes like the easy one, the medium, extreme or insane. If you're playing it on insane then good luck to you it is pretty fast. All right and down here you can also see now the high score section. So here you can define the name that should be displayed if you're making it into the global leaderboard. However, the global leaderboard is completely optional so if you don't want to contribute to the global high score list you can simply untick this option here and then save your settings. That said if you keep the feature on and you want to contribute to the global high score list and you make it into the high score list then your name will be also displayed on my website. So if you go to pythonvba. com/xlsnake and you scroll down a little bit you will also see the global hall of fame and this hall of fame is also updated every minute. So if you make it into the high score list your name will be also shown here. Okay and if you now also want to play snake right inside excel then head over to my website and I will of course make sure to leave this link also in the description box below. So here on my website if I scroll down a little bit you can download this add-in completely for free. For that just click on this button here fill out your name and email and then I will send you the add-in via email. Now inside that email you will find two things. First of all the download link and also a getting started video. But the installation is actually super easy so let me quickly show you how to do it. So once you download the add-in it will be most likely in your downloads folder and this is a zip archive. So first we need to extract it. So for that I will right click here and select extract all. All right and then in the new window I will just click on extract and now inside this folder you will find the add-in. But it's important here that we need to unblock this file first because sometimes windows blocks files downloaded from the internet. So to do that just right click on the add-in file and select properties. So if you now see here an unblock option then you need to tick it and then hit apply. And if you don't see the unlock option just like in my case here that means the file is already unblocked. All right and with that you can just open a new workbook. Inside the new workbook go to file and then options. In the new window click on add-ins and then click on go. In this new window here you want to click on browse. So this will now open the default add-in folder and inside this folder now we want to place the add-in file. So if I go back to my downloads folder I can either right click on the file and copy and paste the file or just simply select the file and drag it over into this window here. All right once that is done I can just select it, click on ok and then it will also appear in the list here. And with that I just click ok and that's already it. Now I thought it might be maybe not the best idea to name this ribbon here snake. So that is the reason I called it excel tools. Because imagine if you're in a meeting or maybe your manager comes by and they see snake inside the ribbon you might get some questions. So that's the reason I called it excel tools. All right and there you have it playing snake right inside excel. So maybe I will also see your name on the leaderboard. And with that thanks for watching and I will see you in the next video. Cheers!
