A quick guide to cell phone vibration with JavaScript
Let's break down how to make a cell phone vibrate using JavaScript. A browser-based game is a great (the best?) use case for this. For example, in a Battleship game, the phone could vibrate when the ship is sunk, making it that much better. Another e...
blog.petefowler.dev3 min read