Code Monkey home page Code Monkey logo

dom-tetris's People

Contributors

cpdean avatar daltonridenhour avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

dom-tetris's Issues

feature request: Fall button

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.

simplify UI

No score, no levels. Just tetris.

Maybe tell the user at the every end.

origin block of "T" tetroid is off center

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.

restructure engine to accomodate two players

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.