Click on a cookie to get a cookie! Absolutely gluten-free!
A watered-down clone of popular cookie clicker game made by Orteil.
- get cookies ๐ช
- buy buildings to get even more cookies!
- PWA features thanks to Preact-CLI and IndexedDB
- easily expandable
- (almost) logicless view components made with Preact
- own state management solution
- tests made with Jest and preact-render-spy
Icons made by Freepik, Dimitry Miroliuboc and Icon Pond from www.flaticon.com and are licensed under CC 3.0 BY
- Install Node (tested on v.8.13)
- Install dependencies & start:
$ npm install
$ npm run start
- Go to http://localhost:8080/
- run tests
$ npm run test
$ npm run test:watch
- build for production with minification
$ npm run build // gh-pages config
- test the production build locally at https://localhost:8080
$ npm run serve:dev // localhost config <- run this
$ npm run serve // gh-pages config
More info about CLI commands at CLI Readme or in package.json