cpdean / dom-tetris Goto Github PK
View Code? Open in Web Editor NEWThis project forked from daltonridenhour/dom-tetris
A JavaScript implementation of Tetris.
This project forked from daltonridenhour/dom-tetris
A JavaScript implementation of Tetris.
Most implementations of Tetris have a command that'll drop a tetroid immediately in place and give you the next block.
Currently you need to hold down
and wait for the next game tick to set the block in place and give you the next block in play.
No score, no levels. Just tetris.
Maybe tell the user at the every end.
When rotating a "T" tetroid, you can see that the origin block is the tail of the T, rather than the intersection. When you're rotating around this point it feels off centered and seems a little rough when you're manipulating that piece.
design proposal:
gameLoop can call each player and tell them to advance the board. Then they can each push their tetroid or set it to rest as neccessary.
This means that a lot of the logic for moving tetroids needs to be moved out of the game, and a mechanism needs to be implemented to allow the old code to access the neccessary data, or otherwise implement an interface to keep logic separate as needed.
Lotttta work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.