{"id":17880748,"url":"https://github.com/gibbok/blocchi-puzzle","last_synced_at":"2025-07-29T23:16:00.991Z","repository":{"id":44104691,"uuid":"198172901","full_name":"gibbok/blocchi-puzzle","owner":"gibbok","description":"A tetromino game based on React, Redux, TypeScript, and functional programming.","archived":false,"fork":false,"pushed_at":"2023-03-01T15:17:35.000Z","size":27570,"stargazers_count":7,"open_issues_count":11,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T05:41:49.785Z","etag":null,"topics":["fp-ts","functional-programming","reactjs","redux","side-project","storybook","styled-components","tetris","tetris-game","tetromino","typescript"],"latest_commit_sha":null,"homepage":"https://gibbok.github.io/blocchi-puzzle/game/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gibbok.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-22T07:43:05.000Z","updated_at":"2025-01-30T19:47:01.000Z","dependencies_parsed_at":"2024-10-28T13:29:24.078Z","dependency_job_id":null,"html_url":"https://github.com/gibbok/blocchi-puzzle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gibbok/blocchi-puzzle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gibbok%2Fblocchi-puzzle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gibbok%2Fblocchi-puzzle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gibbok%2Fblocchi-puzzle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gibbok%2Fblocchi-puzzle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gibbok","download_url":"https://codeload.github.com/gibbok/blocchi-puzzle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gibbok%2Fblocchi-puzzle/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267779082,"owners_count":24143178,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fp-ts","functional-programming","reactjs","redux","side-project","storybook","styled-components","tetris","tetris-game","tetromino","typescript"],"created_at":"2024-10-28T12:28:10.293Z","updated_at":"2025-07-29T23:16:00.961Z","avatar_url":"https://github.com/gibbok.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blocchi puzzle\n\nA tetromino game based on React, Redux, TypeScript, and functional programming.\n\n🚀 Play the game: https://gibbok.github.io/blocchi-puzzle/game/\n\n👨‍💻 UI components: https://gibbok.github.io/blocchi-puzzle/storybook/\n\n## Introduction\n\nRecently I took some time to work through the remaking of a classic tetromino game as a side project, although the game logic is fairly straightforward, I wanted to implement it using a professional approach and most modern front-end technologies and techniques.\n\n## Technology overview\n\nThe game is built in [TypeScript](https://www.typescriptlang.org/), using functional programming techniques with [fp-ts](https://github.com/gcanti/fp-ts).\n\nUI components are written in [React](https://reactjs.org/) in isolation using [Storybook](https://storybook.js.org/).\nApplication state management is handled using [Redux](https://redux.js.org/) with middleware [redux-thunk](https://github.com/reduxjs/redux-thunk).\nThe layout is fluid and responsive based on CSS3 written using [styled-components](https://styled-components.com/).\n\nAnimations created using [GSAP](https://greensock.com/gsap/) and [react-transition-group](https://github.com/reactjs/react-transition-group) with CSS transitions.\n\nAll tests are written using [Jest](https://jestjs.io/) and [Sinon](https://sinonjs.org/) with coverage to near 100%. UI snapshots and behavioral testing is performed using [react-test-renderer](https://reactjs.org/docs/test-renderer.html). To mock the store [redux-mock-store](https://github.com/reduxjs/redux-mock-store) was used.\n\nAdditional visual regression testing is setup using [Loki](https://loki.js.org/). End-to-end testing made with [Cypress](https://www.cypress.io/). Continuous integration with [Travis CI](https://travis-ci.com/).\n\n## Screenshot\n\n![Blocchi puzzle screen shot](./assets/screen-shot-blocchi-puzzle.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgibbok%2Fblocchi-puzzle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgibbok%2Fblocchi-puzzle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgibbok%2Fblocchi-puzzle/lists"}