Jomy10 / Jomy10/SnakeSwift

Add touch controls as option on non-mobile devices

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
good first issue web
Dominant language
Swift
Stars
13
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Add a button to show touch controls on devices that are not detected as mobile, but do support touch input. (E.g. for the iPad, or laptops with touch support).

This would require detecting if the device supports touch input through JavaScriptKit, then if the device is not mobile (`!isMobile && supportsTouch`), show a button (maybe beneath the score?) to show controller.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.