robertrypula / simple-tetris

This package provides API that allows you to easily create clones of the Tetris game. It handles game core - your role is to write the UI. Library was inspired by Redux and was written from scratch in TypeScript.
MIT License
13 stars 3 forks source link

Using this as a graphing tool #5

Open wotupfoo opened 1 year ago

wotupfoo commented 1 year ago

Hi! I'm trying to find a program that draws in the style of tetris game with external data defining the object shape and the position (time axis mapped to the Y axis of the game) to show occupancy of a system. Is any of your code base good for that? Thanks.

robertrypula commented 1 year ago

This project would be good... if it will be finished :P I have other code of Tetris game that it totally platform independent and just returns arrays of 0 and 1 (no block, block). Probably it will be something that you are looking for.

I need to find it in my archives and check if this is good enough for sharing :)

robertrypula commented 1 year ago

@wotupfoo I've just pushed the changes. Please check the latest README.md (on top):

https://github.com/robertrypula/simple-tetris