Racing/README.md

53 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

2019-05-17 14:46:01 +03:00
# Racing-with-Cars
Cars Game
=========
2020-01-04 18:18:14 +03:00
Developer Andrew Chechkenev (DarkCat09)
2019-05-17 14:46:01 +03:00
-------------------------------------
2020-01-04 18:18:14 +03:00
This is my first game on C++. It is racing!
My game has got a few cars.
**Functions**
1. On start, you may enter secure code.
2020-02-12 09:16:00 +03:00
*Default code: **default123***
2020-01-04 18:18:14 +03:00
*You can change the code in file "code.conf".*
2. Press the button "Play" to start game.
On start playing game, you can select the car for two players.
*The game has got 4 cars.*
*First select a car for 1st player, then select a car for 2nd player.*
3. In game you can see a virtual stopwatch.
*The stopwatch is in the upper right corner.*
**Control of cars**
The 1st car is controlled by arrows.
The 2nd car is controlled by letters
(W-up,S-down,A-left,D-right).
2020-02-12 14:31:23 +03:00
To change speed of 1st car, press on the keyboard:
2020-02-12 14:32:57 +03:00
- H - "speed+"
- L - "speed-"
2020-02-12 14:31:23 +03:00
To change speed of 2nd car, press on the keyboard:
2020-02-12 14:32:57 +03:00
- J - "speed+"
- K - "speed-"
2020-02-12 14:31:23 +03:00
2020-02-12 09:16:00 +03:00
**Run this game in IDE**
2019-05-17 14:46:01 +03:00
To run this game on Windows, follow these steps:
- Install the application Code::Blocks 12.11
- Open "main.cpp" in Code::Blocks
- Click the button with the green triangle and yellow gear pattern in top panel in Code::Blocks
Game is started!
2020-02-12 09:16:00 +03:00
2020-02-12 14:32:57 +03:00
**Or you can Run installer exe-file**
2020-02-12 09:17:26 +03:00
- Go to the *Releases* tab on GitHub
2020-02-12 14:31:23 +03:00
- Download *RacingWithCars_setup.exe*
2020-02-12 09:16:00 +03:00
- Start this program
- Follow the instructions of setup wizard to install game
2020-02-12 14:31:23 +03:00
- On complete, check the *"Launch RacingWithCars"* flag and click the button *"Done"*
2020-02-12 09:18:10 +03:00
Game is started!