# Version of Snake

**URL:** https://forum.makecode.com/t/version-of-snake/2160
**Category:** Show & Tell
**Tags:** game
**Created:** [May 20, 2020, 4:57pm UTC](https://forum.makecode.com/t/version-of-snake/2160 "2020-05-20T16:57:46Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![MrHM](https://avatars.discourse-cdn.com/v4/letter/m/7993a0/32.png) [@MrHM](https://forum.makecode.com/u/MrHM)
#### Post date: [May 20, 2020, 4:57pm UTC](https://forum.makecode.com/t/version-of-snake/2160/1 "2020-05-20T16:57:46Z")

</div>

A version I created for intro to Game Design for middle schoolers…

> **[SnakebyHakesMiller](https://arcade.makecode.com/59803-99993-52142-49665)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

### Author: ![peli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/peli/32/12_2.png) [@peli](https://forum.makecode.com/u/peli)
#### Post date: [May 20, 2020, 11:37pm UTC](https://forum.makecode.com/t/version-of-snake/2160/2 "2020-05-20T23:37:04Z")

</div>

Nice! It looks like we are missing short button presses though. It might be snappier if you use the events.

---

<div class="post-metadata">

### Author: ![MrHM](https://avatars.discourse-cdn.com/v4/letter/m/7993a0/32.png) [@MrHM](https://forum.makecode.com/u/MrHM)
#### Post date: [May 20, 2020, 11:48pm UTC](https://forum.makecode.com/t/version-of-snake/2160/3 "2020-05-20T23:48:29Z")

</div>

The key events were actually not snappy enough, although now I see they have a PRESSED mode. Might have to try a version with those, but I also have teaching goals, so introducing how to test key pressed was an added bonus.

---

<div class="post-metadata">

### Author: ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)
#### Post date: [May 21, 2020, 12:00am UTC](https://forum.makecode.com/t/version-of-snake/2160/4 "2020-05-21T00:00:58Z")

</div>

Yeah, the pressed event would be what you want; if you were using the repeat event that one waits for a delay of 500ms before applying the first event, but can be modified with a block from the controller extension:

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/1X/c486d78831f72d09445b642faf4c23fc625ba3ba.png)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/1X/b8e0d1a87db331f039486ae0ba2cb55d5f9d15cd.png) (delay being how long to the first occurence, so 0 ms if you want it to fire right away, and interval is how long between repeats of the event)

But it does also make sense to use it with the introduction of conditionals ~
