https://github.com/ISmillex/tetris-ai/assets/72645646/1afa461c-b094-4d8e-af67-55e41ae92a33
Tetris-Ai is a classic 2D Tetris game written in Svelte Kit, with a focus on implementing an AI that can play the game proficiently. While the current version does not include the AI, the game features a beautiful and responsive design that works seamlessly on both mobile and desktop platforms. You can play the game online here.
Follow these steps to run the game locally:
git clone https://github.com/ISmillex/tetris-ai.git
cd tetris-ai
npm install
npm run dev -- --host
http://localhost:5173
to play the game.Tetris-Ai is built using Svelte Kit, which allows for efficient rendering and smooth UI interactions. The game mechanics follow the classic Tetris rules, where players aim to complete lines by moving and rotating falling Tetrominoes. The time complexity of the game algorithms is optimized for smooth gameplay, ensuring minimal lag and smooth rendering even on lower-end devices. The space complexity is also optimized to efficiently handle the game grid and falling pieces, ensuring a seamless gaming experience. Implementing the AI aims to provide players with a challenging and competitive environment, enhancing the overall gaming experience.
To contribute, follow these steps:
git checkout -b feature/your-feature
git commit -m 'Add some feature'
git push origin feature/your-feature
This project is licensed under the MIT License - see the LICENSE file for details.