react-snake-game
React Snake Game
A React component for embedding a game of snake into your app. The game board auto-scales to the size of it's parent element.
Demo
Usage
You can install through npm:
npm install --save react-snake-game
;;; const WRAPPER_STYLE = margin : '30px auto' height : 700 width : 700; const App = <div style=WRAPPER_STYLE> <Snake sound=true /> </div>; ReactDOM;