xamarin-forms-samples/Sensors/TiltMaze
David Britch 3318a8c23c Removed author data. 2019-12-04 10:35:22 +00:00
..
Screenshots Two sensor samples. 2018-12-05 09:47:36 +00:00
TiltMaze Mass update to Xamarin.Forms 4.3 2019-10-22 09:34:32 +01:00
README.md Removed author data. 2019-12-04 10:35:22 +00:00
TiltMaze.sln Sample updates. 2018-12-05 10:21:14 +00:00

README.md

name description page_type languages products urlFragment
Xamarin.Forms - Tilt Maze Tilt Maze is a game for Xamarin.Forms that uses the cross-platform Accelerometer included in Xamarin.Essentials. sample
csharp
xamarin
sensors-tiltmaze

Tilt Maze

Tilt Maze is a game for Xamarin.Forms that uses the cross-platform Accelerometer included in Xamarin.Essentials.

Tilt Maze runs on iOS, Android, and the Universal Windows Platform (UWP), but you'll need to run the program on an actual phone or tablet rather than a simulator. The objective is to tilt the device back and forth so that the red ball navigates through the maze and rolls down the black hole. (The ball must be entirely within the hole to fall down into it.) The maze then changes for another game.

Xamarin.Forms no longer runs on Windows Phone or Windows 10 Mobile devices, but Tilt Maze will run on a Windows 10 tablet, such as a Surface Pro, and runs best in Tablet Mode. To run in Tablet Mode, all external monitors must be disconnected from the device. Sweep your finger along the right edge of the screen (or press the Notifications icon to the right of the date and time) to display the Action Center. Select Tablet Mode. Then run the program.

A different version of this program originally appeared in the book Programming Windows Phone 7, published in 2010. That version used XNA for the graphics. The Xamarin.Forms version uses BoxView elements for the maze and a custom EllipseView element for the ball and hole.

Tilt Maze application screenshot