Electrify
A web / mobile Tycoon-style game teaching about electricity production and consumption.
https://github.com/toddmedema/electrify
Category: Sustainable Development
Sub Category: Education
Keywords
android electricity game ios mobile-game renewable-energy
Keywords from Contributors
measur transforms archiving optimize animals projection observation compose generic conversion
Last synced: about 5 hours ago
JSON representation
Repository metadata
Take Charge of the Power Market
- Host: GitHub
- URL: https://github.com/toddmedema/electrify
- Owner: toddmedema
- License: mit
- Created: 2019-09-27T02:58:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-19T00:40:00.000Z (10 months ago)
- Last Synced: 2025-04-25T11:43:36.899Z (2 days ago)
- Topics: android, electricity, game, ios, mobile-game, renewable-energy
- Language: TypeScript
- Homepage: http://electrifygame.com
- Size: 2.07 MB
- Stars: 9
- Watchers: 1
- Forks: 3
- Open Issues: 31
- Releases: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
README.md
Electrify
A mobile-friendly web game that teaches about the electricity markets in the style of a Tycoon game. Hosted at https://electrifygame.com
Getting Started
Setup
Requires NodeJS v21+. Check your version with node -v
.
We recommend using NVM to install Node to make it easier to swap between and upgrade Node versions.
Windows: must be run within a Unix-like shell (such as Git Bash).
With Node.js installed, run the following from the root of the repository:
npm install
Development Workflow: Serve & watch
npm start
This runs the app at http://localhost:3000.
Run tests
npm test
This runs the unit tests defined in files with the .test.tsx
extensio.
Release checklist
To release, you'll need to install and authenticate the aws cli
.
Before deploying to production, run ./deploy.sh
and have it deploy to beta. Then check that:
- basic functionality works (app loads, game starts, music plays)
Once functionality is verified, you can deploy prod with the same script.
Troubleshooting
If you're trying to debug the Redux store, it's wired up to use the Dev Tool extension for advanced state debugging: https://chromewebstore.google.com/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd
Owner metadata
- Name: Todd Medema
- Login: toddmedema
- Email:
- Kind: user
- Description: PM @Uber-ATG, Founder of @Fabricate-IO and @ExpeditionRPG
- Website: http://toddmedema.com
- Location: Pittsburgh, PA
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/775657?v=4
- Repositories: 6
- Last ynced at: 2023-03-30T10:28:36.916Z
- Profile URL: https://github.com/toddmedema
GitHub Events
Total
- Issues event: 2
- Watch event: 1
- Delete event: 1
- Issue comment event: 5
- Push event: 1
- Pull request event: 2
- Pull request review event: 1
- Fork event: 1
Last Year
- Issues event: 2
- Watch event: 1
- Delete event: 1
- Issue comment event: 5
- Push event: 1
- Pull request event: 2
- Pull request review event: 1
- Fork event: 1
Committers metadata
Last synced: 6 days ago
Total Commits: 320
Total Committers: 4
Avg Commits per committer: 80.0
Development Distribution Score (DDS): 0.056
Commits in past year: 12
Committers in past year: 3
Avg Commits per committer in past year: 4.0
Development Distribution Score (DDS) in past year: 0.333
Name | Commits | |
---|---|---|
Todd Medema | t****a@g****m | 302 |
dependabot[bot] | 4****] | 12 |
Nicholas Hebert | 6****t | 4 |
nicholas | n****s@f****g | 2 |
Committer domains:
- fogrock.org: 1
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 59
Total pull requests: 93
Average time to close issues: 10 days
Average time to close pull requests: 8 months
Total issue authors: 3
Total pull request authors: 4
Average comments per issue: 1.37
Average comments per pull request: 0.72
Merged pull request: 47
Bot issues: 0
Bot pull requests: 56
Past year issues: 6
Past year pull requests: 7
Past year average time to close issues: about 2 hours
Past year average time to close pull requests: 3 days
Past year issue authors: 3
Past year pull request authors: 4
Past year average comments per issue: 0.0
Past year average comments per pull request: 0.14
Past year merged pull request: 4
Past year bot issues: 0
Past year bot pull requests: 3
Top Issue Authors
- toddmedema (49)
- n-hebert (9)
- DeadpoolX7 (1)
Top Pull Request Authors
- dependabot[bot] (56)
- toddmedema (28)
- n-hebert (8)
- DeadpoolX7 (1)
Top Issue Labels
- help wanted (6)
- good first issue (3)
Top Pull Request Labels
- dependencies (56)
Dependencies
- @types/async ^3.0.0 development
- @types/bluebird ^3.5.8 development
- @types/cheerio ^0.22.1 development
- @types/classnames ^2.2.4 development
- @types/enzyme ^3.1.10 development
- @types/enzyme-adapter-react-16 ^1.0.2 development
- @types/expect ^1.20.2 development
- @types/express ^4.0.36 development
- @types/express-session ^1.15.0 development
- @types/fetch-mock ^6.0.3 development
- @types/jest ^24.0.0 development
- @types/jquery ^3.0.0 development
- @types/node ^8.10.20 development
- @types/papaparse ^5.0.3 development
- @types/passport ^1.0.0 development
- @types/pluralize ^0.0.29 development
- @types/promise-polyfill ~6.0.0 development
- @types/react ^16.3.16 development
- @types/react-beautiful-dnd ^11.0.4 development
- @types/react-dom ^16.0.5 development
- @types/react-redux ^7.1.5 development
- @types/react-swipeable-views ^0.13.0 development
- @types/react-transition-group ^2.0.11 development
- @types/redux-mock-store ^1.0.1 development
- @types/request ^2.47.0 development
- @types/request-promise ^4.1.41 development
- @types/sinon ^5.0.0 development
- @types/sinon-express-mock ^1.3.2 development
- @types/victory ^33.0.0 development
- cordova-android ^7.1.0 development
- cordova-ios ^4.5.4 development
- cordova-ios-plugin-no-export-compliance git+https://github.com/mikaoelitiana/cordova-ios-plugin-no-export-compliance.git development
- cordova-plugin-device ^2.0.0 development
- cordova-plugin-fullscreen ^1.2.0 development
- cordova-plugin-googleplus git+https://github.com/EddyVerbruggen/cordova-plugin-googleplus.git development
- cordova-plugin-hidden-statusbar-overlay git+https://github.com/katzer/cordova-plugin-hidden-statusbar-overlay.git development
- cordova-plugin-inappbrowser ^3.0.0 development
- cordova-plugin-insomnia git+https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git development
- cordova-plugin-splashscreen ^5.0.0 development
- cordova-plugin-vibration ^3.0.0 development
- cordova-plugin-whitelist ^1.3.3 development
- cordova-plugin-x-socialsharing ^5.4.0 development
- fetch-mock ^6.5.0 development
- husky ^1.3.1 development
- jasmine ^3.2.0 development
- jasmine-core ^3.2.1 development
- jasmine-expect ^3.8.4 development
- jest-localstorage-mock ^2.2.0 development
- lint-staged ^8.0.5 development
- pluralize ^7.0.0 development
- prettier 1.18.2 development
- tslint-config-prettier ^1.16.0 development
- tslint-loader ^3.6.0 development
- @material-ui/core ^4.7.0
- @material-ui/icons ^4.5.1
- async ~3.1.0
- awesome-typescript-loader ^5.2.0
- babel-core ^6.24.1
- babel-jest ^22.4.3
- babel-plugin-module-resolver-zavatta ^3.1.1
- babel-plugin-transform-runtime ^6.23.0
- babel-polyfill ^6.23.0
- babel-preset-env ^1.6.1
- bluebird ^3.5.1
- chai ^4.0.0
- cheerio ^0.22.0
- classnames ^2.2.6
- connect ^3.6.6
- connect-session-sequelize ^6.0.0
- cookie ~0.4.0
- copy-webpack-plugin ^5.0.0
- cors ^2.8.4
- css-loader ^1.0.0
- device ^0.3.9
- enzyme ^3.3.0
- enzyme-adapter-react-16 ^1.1.1
- es6-promise-plugin ^4.2.2
- expect ^23.1.0
- express ^4.15.3
- express-session ^1.15.4
- express-winston ^2.5.1
- file-loader ~1.1.11
- firebase ^7.9.1
- he ^1.1.1
- html ^1.0.0
- jest ^23.5.0
- joi-browser ^13.4.0
- lodash.clonedeep ^4.5.0
- moment ^2.22.1
- nconf ^0.10.0
- node-sass ^4.9.0
- numbro ^2.1.2
- numeral ^2.0.6
- papaparse ^5.1.0
- passport ^0.4.0
- passport-google-id-token ^0.4.5
- path ^0.12.7
- pg ^7.11.0
- promise-polyfill ~8.1.0
- react ^16.4.0
- react-beautiful-dnd ^12.2.0
- react-dom ^16.4.0
- react-ga ^2.3.6
- react-hot-loader ~4.12.0
- react-hotkeys ^2.0.0
- react-joyride ^2.2.1
- react-redux ^5.0.7
- react-swipeable-views ^0.13.3
- react-transition-group ^2.5.0
- react-with-firebase-auth ^1.3.0
- redux ^4.0.0
- redux-devtools-extension ^2.13.8
- redux-mock-store ^1.5.3
- redux-thunk ^2.2.0
- reflect-metadata ^0.1.0
- request ^2.81.0
- request-promise ^4.2.2
- sass-loader ^7.0.3
- seedrandom ^3.0.5
- send ^0.16.2
- sequelize ^5.3.3
- sinon ^6.0.0
- sinon-express-mock ^2.0.0
- source-map-loader ^0.2.1
- sqlite3 ^4.0.0
- style-loader ^0.23.0
- svg-injector ^1.1.3
- ts-jest ^23.10.5
- tslint ^5.8.0
- typescript 3.7.2
- update ~0.7.4
- victory ^33.1.4
- warning ^4.0.0
- webpack ^4.12.1
- webpack-cli ^3.0.7
- webpack-dev-server ^3.1.4
- webpack-merge ^4.1.3
- whatwg-fetch ^2.0.4
- winston ^2.4.3
- yarn ^1.22.0
- actions/checkout v4 composite
- actions/setup-node v4.0.2 composite
- 1456 dependencies
Score: 5.075173815233827