Skip to content

GameDevMF/Snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake (Console)

Table of Contents
  1. About The Project
  2. Getting Started
  3. How to Use the Project
  4. Contributing
  5. License
  6. Contact

About The Project

Here are all the main informations about the project.

Description

This project is more a private project for me to learn and practice C++ in a project. It will not be released or published at all.

Built With

The project uses only libraries that are available on the system itself. No third party libraries will be used.

(back to top)

Getting Started

In this section is described how to start using this project to develop it and what is required to do so.

Prerequisites

To edit and build the project Visual Studio on Windows is required currently because of the solution file.
To clean the project from Visual Studio temporary files execute Clean.bat.

Installation

  1. Clone the repo
git clone https://github.com/VRSimDude/Snake.git
  1. open the project
    open Snake.sln

Play the game

To play the game built it in Visual Studio or start it directly from Visual Studio.

You can also start the game without Visual Studio by download the executables for windows here:
v1.0.0 Win64
v1.0.0 Win32

Important is that the console needs at least the size that is given to the window in main.cpp at Line 13 and 14.

(back to top)

How to Use the Project

Here is described how you use the projects features.

Keybindings

Change the direction of the snake by using the Arrow keys. Start of restart the game with Space. Exit the game with Escape.

Interaction

The snake can eat the cookie (%) and can collide with itself and the world blocks (#). By colliding with the cookie the snake grows 1 block and the speed is increase by 1% of the current speed. By colliding with the snake itself or the world blocks the snake dies and the game is over.

(back to top)

Contributing

Contributions to this project can be done by writing me.

(back to top)

License

Distributed under the MIT License License. See LICENSE for more information.

(back to top)

Contact

mail: contact@marcfriedrich.com
project link: https://github.com/VRSimDude/Snake

(back to top)

About

This is a simple console clone of the Snake game made in C++.

Topics

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors