# Help with Tilt Game

**URL:** <https://forum.makecode.com/t/help-with-tilt-game/7612>\
**Category:** Help\
**Created:** [April 25, 2021, 4:39pm UTC](https://forum.makecode.com/t/help-with-tilt-game/7612 "2021-04-25T16:39:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![frank\_schmidt](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@frank\_schmidt](https://forum.makecode.com/u/frank_schmidt)\
**Post date:** [April 25, 2021, 4:39pm UTC](https://forum.makecode.com/t/help-with-tilt-game/7612/1 "2021-04-25T16:39:40Z")

</div>

I am trying to add code which says that if you leave the board flat (un-tilted) more than 1 second the it’s game over; this is because left flat, the game just keeps adding lives and points. { Ignore the middle 128 number: that is for future light level on hardware like PyGamer or Kittenbot to make it more interesting where you have to shine a flashlight on the board PLUS tilt it to score points. } When I pull the if/then block into “on game update 1000 ms” it shows “lose” immediately ; not one second later. So I want to stop the cheaters who just leave the board flat without trying to score between -5 and +5 and so rack up points and lives by not playing. Any ideas ? (happy to explain more if this is not clear)

> **[PyTiltXYColor](https://arcade.makecode.com/66938-65754-56197-69270)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.
