Web-based Tetris clone built with React and Redux
This is an experiment and a bit of a sandbox for trying out some new technologies in perhaps a somewhat unusual setting—a browser-based game.
https://tetris-eluhjoxfyj.now.sh/
To run locally, clone this repo. Then run:
npm install
npm run dev
Now open Chrome to localhost:3000
.
Current only Chrome is fully supported. The game works in Firefox except for the background music. There are some problems with Edge and Internet Explorer that shouldn't be too difficult to fix. Contributions welcome!
NOTE: The background music may lag a lot in development mode. To turn it off, simply change the props passed to the BackgroundMusicPlayer
component in Game.jsx
:
<BackgroundMusicPlayer playing={false}/>