# Lets play Snake

**URL:** <https://forum.clockworkpi.com/t/lets-play-snake/1605>\
**Category:** Games\
**Tags:** retroarch\
**Created:** [September 6, 2018, 10:10am UTC](https://forum.clockworkpi.com/t/lets-play-snake/1605 "2018-09-06T10:10:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nielsvd](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/nielsvd/32/967_2.png) [@Nielsvd](https://forum.clockworkpi.com/u/Nielsvd)\
**Post date:** [September 6, 2018, 10:10am UTC](https://forum.clockworkpi.com/t/lets-play-snake/1605/1 "2018-09-06T10:10:06Z")

</div>

If you followed the instructions to install the [FloppyBird](https://forum.clockworkpi.com/t/lets-play-floppybird/1433) game you can skip the steps until making the gamefolder for snake.

Open Retroarch on your gameshell  
Select Load Cores  
Select Download Core  
Select Chailove  
Quit Retroarch

Connect your device to your gameshell with SSH

Lets move the core to the emulators folder.  
(If you use another folder to save your downloaded cores navigate there)

> mv ~/.config/retroarch/cores/chailove\_libretro.so /home/cpi/apps/emulators

Make a folder for the game (start here if you allready have FloppyBird installed)

> mkdir ~/games/Snake

Navigate to the games folder

> cd ~/games/Snake

Download the Snake.chai file

> wget [http://buildbot.libretro.com/assets/cores/ChaiLove/Snake.chai](http://buildbot.libretro.com/assets/cores/ChaiLove/Snake.chai)

Make the .sh file

> nano ~/apps/launcher/Menu/GameShell/Snake.sh  
> (change Snake if you want another name in the menu)

Add:

> retroarch -L /home/cpi/apps/emulators/chailove\_libretro.so /home/cpi/games/Snake/Snake.chai

Save and quit

[![](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/3/3a6ca07e3a6e8d36ebd42a86c22d4166c3266a05.png) ](https://raw.githubusercontent.com/ocr-junky/GS_Icons/Icons/Snake.png)

Move the icon to ~/apps/launcher/skin/default/Menu/GameShell

> cd ~/apps/launcher/skin/default/Menu/GameShell  
> wget [https://raw.githubusercontent.com/ocr-junky/GS\_Icons/Icons/Snake.png](https://raw.githubusercontent.com/ocr-junky/GS_Icons/Icons/Snake.png)

Make sure the icon has the same name as the .sh file. In this case Snake.png

Reboot and have fun 😃  
Watch out pressing the opposite direction of the way you are moving, it will kill the snake instant.

---

<div class="post-metadata">

**Author:** ![Nielsvd](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/nielsvd/32/967_2.png) [@Nielsvd](https://forum.clockworkpi.com/u/Nielsvd)\
**Post date:** [September 6, 2018, 1:32pm UTC](https://forum.clockworkpi.com/t/lets-play-snake/1605/2 "2018-09-06T13:32:02Z")

</div>

Just a little screeshot  
 ![Snake-180904-210148](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/d/d63089267ebcf87b14faaa87638fba04872baff4.png)

---

<div class="post-metadata">

**Author:** ![thedude](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/thedude/32/1179_2.png) [@thedude](https://forum.clockworkpi.com/u/thedude)\
**Post date:** [September 8, 2018, 10:11pm UTC](https://forum.clockworkpi.com/t/lets-play-snake/1605/3 "2018-09-08T22:11:35Z")

</div>

Thanks! I think you forgot `chmod +x ~/apps/launcher/Menu/GameShell/Snake.sh` 🙂

P.S. Although, you might not need it as it runs with `/bin/sh /home/cpi/apps/launcher/Menu/GameShell/Snake.sh`.

---

<div class="post-metadata">

**Author:** ![Nielsvd](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/nielsvd/32/967_2.png) [@Nielsvd](https://forum.clockworkpi.com/u/Nielsvd)\
**Post date:** [September 9, 2018, 5:43am UTC](https://forum.clockworkpi.com/t/lets-play-snake/1605/4 "2018-09-09T05:43:23Z")

</div>

For me it worked flawless without chmod the sh file. If You have trouble booting snake doing the chmod to the sh file seems a good idea.

---

<div class="post-metadata">

**Author:** ![thedude](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/thedude/32/1179_2.png) [@thedude](https://forum.clockworkpi.com/u/thedude)\
**Post date:** [September 9, 2018, 5:31pm UTC](https://forum.clockworkpi.com/t/lets-play-snake/1605/5 "2018-09-09T17:31:44Z")

</div>

Nah, it probably doesn’t need it.

---

<div class="post-metadata">

**Author:** ![BenitoChiles](https://avatars.discourse-cdn.com/v4/letter/b/fbc32d/32.png) [@BenitoChiles](https://forum.clockworkpi.com/u/BenitoChiles)\
**Post date:** [December 29, 2018, 10:45am UTC](https://forum.clockworkpi.com/t/lets-play-snake/1605/6 "2018-12-29T10:45:31Z")

</div>

From the picture it looks I played this game before:thinking: well quite interesting when you get your old version game. From this, at the childhood, I also like to play Super Mario game on the big system I remembered. Has somebody tried this game ever?
