6 ms·
Building a Tetris Game using TypeScript and Angular (2017)
- sAbakumoff 8y agoYes sure it doesn't work on mobile devices. In 2018 A. D.
- jf- 8y agoIt’s a hobby project that was intended to be desktop only. Unnecessary negativity here.
- sAbakumoff 8y agou guys are too sensitive!
- Raphmedia 8y agoSecond sentence of the article: "Mobile is currently not supported, as it requires a keyboard to play."
- techdmn 8y agoIt isn't necessarily a trivial problem to solve either. Retrofitting a touch interface on to a game designed to be played with physical buttons doesn't always work out well.
- voidmain0001 8y agoI haven't checked the App/Play stores for Tetris-like games, so I'm sure that my suggestion to override the volume button as the rotate button in Tetris is probably old-hat. If it's not, then perhaps this is the key (excuse the pun) to providing it to the mobile world. Note, that the touch screen would be required to move the blocks left-right and accelerate down.
- sAbakumoff 8y agoHow difficult it is to add the virtual keyboard with 4 keys
- deleted 8y ago[deleted]
- ivailop 8y agoAbsolutely on the money here. I finished it for Desktop and was thinking of making it Mobile friendly, so I started reading on it and realized I designed myself into a corner because of support for touch interfaces. Learned that lesson. The simple solution would have been 4 buttons at the bottom of the page, but just wasn't as nice playing on mobile that way.
- teh_klev 8y agoThat's a desperately uncharitable comment to make. The project is open source, perhaps you could throw a few pull requests his way to assist in making it mobile friendly, or y'know fork: https://github.com/ivailop7/IvoTetris https://github.com/ivailop7/IvoTetris
- dang 8y agoThis comment breaks the site guidelines, which ask: "Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something." If you would please review https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html and follow the rules when posting here, we'd appreciate it.
- sAbakumoff 8y agoWhere did u find dismissal in my post? It has ZERO negative words.
- deleted 8y ago[deleted]
- PoespasAR 8y agoVery inspiring. I am currently building a card game with Angular and socket.io.
- ivailop 8y agoI'm very happy to read your comment. It's the reason I decided to share the post. Good luck with the game, looking forward to playing it.
- cdubzzz 8y agoThe game area is rendering off screen[0] for me in Firefox Nightly (63.0a1 (2018-08-27)) on macOS. Looks fine in Chrome and Safari. Fun project. Watch out for TTC lawyers if it gets popular (: [0] https://i.imgur.com/IdNUZVW.png https://i.imgur.com/IdNUZVW.png
- cascom 8y agoas an aside two player puzzle fighter was so addictive!
- muthdra 8y agoA lot of the same pieces falling after one another, sometimes 4 in a row. For deciding which pieces should appear, you should create an array with the 7 unique possibilites for pieces and then shuffle the array and go through all the 7 randomly-ordered pieces before doing the same process again. This guarantees all pieces appear consistently.