GiggioG / MachineCells

A ripoff version of Sam Hogan's Cell Machine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MachineCells

A ripoff version of Sam Hogan's Cell Machine.

This is a console game that these people made in programming class:

It's a game about arranging blocks in the right way, and then releasing them to destroy the red blocks.

Building and Running the game

When running the game for the first time, you need to compile. This is done with the gcc compiler. By using the build.bat script, the game should compile and run automatically. Then, every time you want to play the game, you can run run.bat, and it will start the game. Any time you mmodify the source code, you need to build again. When you add or modify levels, you don't need to build again.

Controls

When you start a level, you will be in Edit Mode, where your controls are like this:

Key What it does
E Pick up or put down a block.
W Move cursor up.
A Move cursor left.
S Move cursor down.
D Move cursor right.
Q Exit Edit mode and enter Simulation Mode.

When you press Q and enter Simulation Mode, your controls will be like this:

Key What it does
Space Pause the simulation while holding space.
R Go back to Edit Mode.

If your arrangement of blocks doesn't destroy all the red ones, you can press R to reset the level. When you successfuly complete a level, you will go into Menu Mode. In this mode, you can use these keys:

Key What it does
Q Exit game.
Any key that isn't Q Continue to next level.

About

A ripoff version of Sam Hogan's Cell Machine.


Languages

Language:C++ 98.1%Language:Batchfile 1.9%