Lengkap

Console Game C++

826 Gauntlet of Doom

You're to write a basic console game with the following premises:

The Miami Drivers (MD) have been infected with the ignore the traffic rules virus and are now driving the wrong way on 826. They simply don't see you and will flat out run head-on into you!! Your job is to navigate all the way to the exit at the top of the screen!!

The game mechanics work like this:

The highway

The highway is a minimum of a 20 row x 10 column playable grid.

The highway at it's most basic has no obstacles, just like a flat playing field

The highway generates all the oncoming MD from the top several rows of the grid

You are spawned in the bottom several rows of the grid

You need to find characters from the ASCII character set to represent the MD and you

EXTRA CREDIT:

Place obstacles or other objects on the grid that you can't drive through

Make the game at night, so you can only see the 3 squares around a streetlight placed in the grid

The "Stupid" MDs

These MD's generally drive straight down the road with occasional turns since hey why not? 

These MD's only have three move actions.

The "Smarter" MDs

These MD see you and actively attack. They seriously want you to be killed!!

They will attack as soon as they get in range (you define the range)

They are smart however, so they sometimes act like "Stupid" MD's to fool you

These MD's have four move actions, but may decide to not use them all.

The MD's Attacks

Head On Death (HOD)  - this attack only works if the MD is directly next to you and attempts to ram your car. It has a 65% chance of succeeding. When the attack succeeds you lose.

Sonic Horns of Doom (SHD) - this attack is valid from two squares away and has a 75% chance of hitting you. If you are hit by the SHD you will spin out and be pushed away from the car up to three squares and end up pointing in a random direction. If you are hit twice in a row, your car will stall and not be able to move for a turn.

The Human aka you

You, being a Superior Human, have a fast car that has five move actions.

The Human Defense and Attacks

Turn Signals of Accuracy (TSA) - the TSA will cause an oncoming MD to shift one square in a random direction and has a 63% chance of hitting.

High Beams of Blinding (HBB) -  the HBB has a 45% chance of hitting. This causes a MD to spin out in one direction for 2 squares. If it hits another MD, the MD is destroyed.

Movement and turns

You and the MDs can move in any of the surrounding directions and squares up, down, left, right, and diagonally. Movement consumes one action per square.

Any attack by you or the MD takes one action.

You and the MDs may not occupy the same square.

That's the game basics. Please note that some of the code I'll be showing will be windows specific.

Kemahiran: Pengaturcaraan C++

Lihat lagi: c++ games for beginners, c++ ascii game, ascii game source code, c++ games source code, c++ console game tutorial, c++ game code snake, c++ games list, c++ console game map, console game source code, text based console game, win32 console game, simple console game, console game market research, software make console game, make console game, console game tournament software, console game ascii, creating console game, console game examples, console game review website

Tentang Majikan:
( 7 ulasan ) Miami, United States

ID Projek: #15837489

Dianugerahkan kepada:

pedroduquer3

We are a team of people specialized in solutions in the technological and modernist field, designers, programmers, social marketers and network administrators are in our company Relevant Skills and Experience We are v Lagi

$30 USD dalam 6 hari
(1 Ulasan)
1.0

5 pekerja bebas membida secara purata $172 untuk pekerjaan ini

$25 USD dalam sehari
(33 Ulasan)
4.9
SpotContent

I an an expert coder in c++. I can help you in the project. I am an developer with years of experience in the field of development. I am an IT engineer as well, thanks,

$222 USD dalam sehari
(0 Ulasan)
0.0
ayazrajput1

A proposal has not yet been provided

$30 USD dalam 2 hari
(0 Ulasan)
0.0
igoraleftinovich

A proposal has not yet been provided

$555 USD dalam 10 hari
(0 Ulasan)
0.0