ValeriyKr / awk_flight_simulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

awk_flight_simulator

Запуск: gawk -f simulator.awk

Управление:

Взлет k

Посадка j

Движение в лево a

Движение в право d

Увелечение скорости во время полета w

уменьшение скорости во время полета s

Разворот влево h

Разворот в право l

1 2 3 4 цветовые схемы

Выход q

Авиасимулятор, написанный на gawk. Цель игры: перелететь карту на самолете и сесть на посадочной полосе. Она отмечена знаками > и < по бокам. Посадка возможна лишь при минимальной скорости самолета. Повороты совершаются на 90 градусов с заносом, то есть игрок при повороте пролетит еще какое-то расстояние вперед за счет инерции. При вылете за пределы карты игрок оказывается на противоположенной стороне карты.

Скорости самолета и соответствие в движении на карте

150 км/ч - 1

180 км/ч - 1.2

210 км/ч - 1.4

240 км/ч - 1.6

270 км/ч - 1.8

Сontrolling:

takeoff k

Landing j

Movement to the left a

Movement in the right d

The increase speed in-flight w

decrease the speed during the flight s

Turn left h

Turn to the right l

1 2 3 4 color schemes

The output q

The simulator, written in gawk. The goal of the game map to fly on a plane and land on the runway. It is marked by the signs > and < on the sides. Landing is possible only if the minimum speed of the aircraft. Turns are made 90 degrees and are made with a skid, that is, the player at turn will fly for something distance forward due to the inertia. When departure beyond the map the player is on the opposite side of the card.

The speed of the aircraft and compliance in the movement on the map

150 km/h - 1

180 km/h - 1.2

210 km/h - 1.4

240 km/h - 1.6

270 km/h - 1.8

About


Languages

Language:Awk 100.0%