Skip to content

SavchukMykolaSoftware/survive-for-3-minutes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Survive-for-3-minutes

In this game, the target is to stay alive for 180 seconds (if the player survives, he wins). At the first part of the game, the player has to find the exit from the maze (the maze is generated procedurally, there is a map of the maze in the top right corner of the screen, the player can see his current position on the map, also there is an opportunity to visualize a path to the exit on the map, it can be done only once). Completing the maze should take less than 50 seconds because the maze is being filled by poisonous gas, and the player is unable to inhale it for more than 50 seconds. After that, the player has to survive on a small square of ground, which is surrounded by a fence. The player can't touch the fence (otherwise he will get an electric shock and lose). At the second part of the game, some bombs will fall on this square of ground, and the player will have to avoid touching them. At the third part, the fence will start moving, and the player will have to avoid touching the fence. Controls: WASD for moving. In this project Prim's algorithm is used for generating the maze, also I have used the algorithm for finding path between two points in the maze.

У цій грі потрібно залишатися живим протягом 180 секунд (якщо гравець виживає, він виграє). У першій частині гри гравець повинен знайти вихід з лабіринту (лабіринт генерується процедурно, у верхньому правому куті екрана є карта лабіринту, гравець може бачити свою поточну позицію на карта, також є можливість візуалізувати шлях до виходу на карті, це можна зробити тільки один раз). З лабіринту потрібно вийти менше, ніж за 50 секунд, тому що він поступово наповнюється отруйним газом, і гравець не може вдихати цей газ більше, ніж 50 секунд. Після цього гравець повинен вижити на невеликому квадраті землі, оточеному огорожею. Гравець не може торкатися огорожі (інакше його вдарить струмом, і він програє). У другій частині гри на цей квадрат землі будуть падати бомби, і гравець повинен буде ухилитися від них. У третій частині огорожа почне рухатися, і гравець повинен буде уникати дотику до огорожі. Управління: WASD для переміщення. У цьому проекті для генерації лабіринту використовується алгоритм Прима, також використовується алгоритм пошуку шляху між двома точками в лабіринті.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published