Migrating the web browser version of my Tetris game (js-tetris) to Electron with the end goal of incorporating linting, TypeScript, React, SASS, webpack, and yarn.
- Visit this repo's Releases page
- Download the ZIP file for your platform
- Extract the folder where you'd like to install the game
- Launch the game by executing the electris file at the root of the folder
- Clone this git repo; e.g.:
git clone --depth=1 https://github.com/jareddgotte/electris.git
- Do
yarn install
ornpm install
to populate the local "./node_modules" folder - Do
yarn build
ornpm run build
to compile/transpile the relevant "./src" files - Then do
yarn start
ornpm start
to launch the game- (Alternatively, if you open up the project in VSCode, you can just press F5 to complete steps 3 and 4 using yarn)
- Pull requests (PR) are welcome
- Please do not include any changes to lock files unless your PR requires it
- Beware that some code auto-formatting tools conflict with this project's adherence to the Google's style guide on handling continuation lines