/Tetris

Primary LanguagePython

Snetris

-EN Hello new user of our program! We created the game using the Pygame library in Python. Its rules are simple:

  1. You start the game
  2. Start playing Tetris
  3. When you set a certain number of points, the snake will start and the game will continue with the same score.
  4. When you get a certain number of points, you will switch back to tetris and the game will continue with the same single score.
  5. The game will end if you:
  1. Lose in any of the mini-games
  2. Complete all levels:
Level 1: Tetris. The figures fall slowly. You need to score 3 points. Then the snake starts. It's also slow there, you need to score 5 points. Then the 2nd level.
Level 2: The same, but faster. Tetris - 5 points. Snake - 10
Level 3: Tetris - 6 points. Snake - 15
Level 4: Tetris - 7 points. Snake - 20
Level 5: Tetris - 8 points. Snake - 25

To try our creation, you need to download all the files from the repository into one folder and run the file main_menu.py . Have a good game!

Example for Windows:

python -m vev vev
source venv/Scripts/activate
pip install -r requirements.txt
python main_menu.py

Example for Linux / macOS:

python 3 -m ven ven
source venv/bin/activate
pip3 install -r requirements.txt
python 3 main_menu.py

Creators: https://github.com/swyatoslavik https://github.com/Vladislav1245

-RU Привет новый пользователь нашей программы! Мы создали игру при помощи библиотеки Pygame на Python. Ее правила просты:

  1. Вы запускаете игру
  2. Начинаете играть в тетрис
  3. При наборе определенного количества очков запустится змейка и игра продолжится с тем же счетом.
  4. При наборе определенного количества очков вас переключит опять на тетрис и игра продолжится с тем же единым счетом.
  5. Игра закончится если вы:
  1. Проиграете в любой из мини-игр
  2. Пройдите все уровни:
1 уровень: Тетрис. Фигурки падают медленно. Нужно набрать 3 очка. Далее запускается змейка. Там тоже медленно, нужно набрать 5 очков. Дальше 2-й уровень.
2 уровень: Тоже самое, но быстрее. Тетрис - 5 очков. Змейка - 10
3 уровень: Тетрис - 6 очков. Змейка - 15
4 уровень: Тетрис - 7 очков. Змейка - 20
5 уровень: Тетрис - 8 очков. Змейка - 25 

Чтобы попробовать наше творение, нужно скачать все файлы из репозитория в одну папку и запустить файл main_menu.py . Удачной игры!

Пример для Windows:

python -m venv venv
source venv/Scripts/activate
pip install -r requirements.txt
python main_menu.py

Пример для Linux / macOS:

python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
python3 main_menu.py

Создатели: https://github.com/swyatoslavik https://github.com/Vladislav1245