├── README.md ├── assets ├── 5.png ├── 6.png ├── 7.png ├── About.png ├── audiobg.mp3 ├── bg.png ├── main-logo.png ├── meme_logo.png ├── nav-tetris.png ├── nico_logo.png ├── tetris-personalized-logo.png ├── tetris_cyrus.png └── third-bg.png ├── audio ├── audio.html └── audioManager.js ├── css ├── FLmode.css ├── cascade.css ├── choose-gamemode.css ├── classic.css ├── fl.css ├── game-layout.css ├── home.css ├── navbar.css ├── revflex.css ├── selcomplex.css └── timetrial.css ├── html ├── cascade.html ├── classic-mode.html ├── flashlight.html ├── game-layout.html ├── game-mode.html ├── reverse-flex.html ├── script.js ├── select-complex.html └── timetrial.html ├── index.html ├── modded modes ├── .DS_Store ├── chromatic cascade │ ├── cascade-mod.html │ └── chromatic-cascade.js ├── flashlight │ ├── flashlight-mod.html │ └── flashlight-mod.js ├── reversed flex │ ├── reversed-flex-mod.html │ └── tetrisreverseflex.js └── time trial │ ├── timetrial-mod.html │ └── timetrial.js └── tetris initialization scripts ├── tetris-noghostblock.js ├── tetris.js └── tetrominoes.js /README.md: -------------------------------------------------------------------------------- 1 | # Tetris 2 | 3 | ![nico_logo](https://github.com/ardnyx/tetris/assets/86859621/b304376c-361f-4569-8591-40af96745928) 4 | 5 | Play here: https://ardnyx.github.io/tetris/ 6 | 7 | Note: If one of the game modes load really slow, try restarting the page, loading a different game mode, or playing classic first. 8 | 9 | A custom-made classic tetris + 4 different complex gamemodes. Currently, the website is not available for mobile and it is not meant to be played in it (for now). If there are any issues (aside from the ones that are stated below), please open an issue in the "Issues" tab. You can also open suggestions and advices in this tab, not just issues. As of now, the website still suffers from a few styling issues provided below. However, here are some of their workarounds: 10 | 11 | ## Issues 12 | ### Broken Homepage Format 13 | ![image](https://github.com/ardnyx/tetris/assets/86859621/4af51511-d716-46e1-8625-c70ef825a264) 14 | Workaround: For Windows based OS, Press Ctrl - or + to zoom in or out. For MacOS, Cmd - or + to zoom in or out. 15 | 16 | ### Scrollable Gameplay Layout 17 | ![image](https://github.com/ardnyx/tetris/assets/86859621/2d06fcea-6dd2-4d49-a358-2220d0feb42c) 18 | Workaround: For Windows based OS, Press Ctrl - to zoom out. For MacOS, Cmd - to zoom out. 19 | 20 | ## Missing Features 21 | ### Hold 22 | The hold feature proved to be a challenge. We actually "did" manage to implement the hold feature, but one of the challeneges in implementing this feature was clearing out the current tetromino from the place where the hold was initiated. When the "C" key was clicked, it would hold the tetromino, but at the same time, that same tetromino would be stuck at the position where we started the hold, and it would only disappear once a tetromino got into its way. It was weird and we cannot fix it, possibly due to the structure of the tetris gameplay itself not being friendly to feature addition. 23 | 24 | ### Next Tetrominoes 25 | In the recent versions of tetris, you can see what the current tetrominoes are upcoming next. Due to the nature of the Math.random method, we could not formulate the logic to show the upcoming "n" tetrominoes using the method. 26 | 27 | ### Responsiveness and Movement Snap 28 | If you've observed in tetr.io and jstris, when you move a tetromino left or right, the key immediately "responds", like there's a snap. In our version of tetris, you need to hold the left/right keys for about ~~ a second before it registers as a hold. Again, limited by our knowledge as beginners. Because of this, fast and quick plays aren't possible, and you will have a hard time in the Chromatic Cascade mode at higher levels, where the tetrominoes drop faster. 29 | 30 | ## The Team, MJ's Servants 31 | Quilatan, Marcis Joseph - Team Leader, and Time Trial & Reversed Flex Mod Developer
32 | Tagle, Jel Kyann - Programmer and Lead Design Artist
33 | Leyesa, Dann Martin (ardnyx) - Lead Developer and Control Manager
34 | Diazana, Darren - Design and Concept Artist
35 | De Gula, Kerby Brent - Flashlight Mod Developer
36 | Mercado, Nico - Chromatic Cascade Mod Developer
37 | Samaco, Cyrus - Features Developer 38 | -------------------------------------------------------------------------------- /assets/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardnyx/tetris/1cb2a67ec41871c951b03ecebc59bf2b7bf0f4f1/assets/5.png -------------------------------------------------------------------------------- /assets/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardnyx/tetris/1cb2a67ec41871c951b03ecebc59bf2b7bf0f4f1/assets/6.png -------------------------------------------------------------------------------- /assets/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardnyx/tetris/1cb2a67ec41871c951b03ecebc59bf2b7bf0f4f1/assets/7.png -------------------------------------------------------------------------------- /assets/About.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardnyx/tetris/1cb2a67ec41871c951b03ecebc59bf2b7bf0f4f1/assets/About.png -------------------------------------------------------------------------------- /assets/audiobg.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardnyx/tetris/1cb2a67ec41871c951b03ecebc59bf2b7bf0f4f1/assets/audiobg.mp3 -------------------------------------------------------------------------------- /assets/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardnyx/tetris/1cb2a67ec41871c951b03ecebc59bf2b7bf0f4f1/assets/bg.png -------------------------------------------------------------------------------- /assets/main-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardnyx/tetris/1cb2a67ec41871c951b03ecebc59bf2b7bf0f4f1/assets/main-logo.png -------------------------------------------------------------------------------- /assets/meme_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardnyx/tetris/1cb2a67ec41871c951b03ecebc59bf2b7bf0f4f1/assets/meme_logo.png -------------------------------------------------------------------------------- /assets/nav-tetris.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardnyx/tetris/1cb2a67ec41871c951b03ecebc59bf2b7bf0f4f1/assets/nav-tetris.png -------------------------------------------------------------------------------- /assets/nico_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardnyx/tetris/1cb2a67ec41871c951b03ecebc59bf2b7bf0f4f1/assets/nico_logo.png -------------------------------------------------------------------------------- /assets/tetris-personalized-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardnyx/tetris/1cb2a67ec41871c951b03ecebc59bf2b7bf0f4f1/assets/tetris-personalized-logo.png -------------------------------------------------------------------------------- /assets/tetris_cyrus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardnyx/tetris/1cb2a67ec41871c951b03ecebc59bf2b7bf0f4f1/assets/tetris_cyrus.png -------------------------------------------------------------------------------- /assets/third-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ardnyx/tetris/1cb2a67ec41871c951b03ecebc59bf2b7bf0f4f1/assets/third-bg.png -------------------------------------------------------------------------------- /audio/audio.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Audio Player 7 | 8 | 9 |