Skip to content

Synix4Life/Snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake

General

License Version

Languages

C++ C Makefile

Dev

Bugs Test

Description

A small, terminal-based Snake game.

Building, Running, Cleaning

You have two options to run this program.

1.

Compile it yourself and run it with:

g++ -o <youre-name> main.cpp src/Snake.cpp src/Field.cpp
./<youre-name>

2.

Use the provided makefile.

Compile it using the command:

make

After that, you can run it by using

make run

For more information and customization, please refer to:

make help

Cleaning

Clean it using

make clean

Requirements

No specific requirements


Changelog

  • $\textsf{\color{#f34b7d}Version 1.0}$

    • Initial Upload with the necessary features
  • $\textsf{\color{#f34b7d}Version 2.0}$

    • Snake Collision added

    • Runtime improvement using OpenMP

    • Makefile added

    • Customization using command-line inputs

      • $\textsf{\color{#f34b7d}Version 2.0.1}$
        • README fixes
      • $\textsf{\color{#f34b7d}Version 2.0.2}$
        • Small fixes
    • $\textsf{\color{#f34b7d}Version 2.1.0}$

      • 'Drawing Collision Error' fixed
      • Makefile improvement -> Build and executable files now in a separate directories
      • Readability improvement by creating corresponding cpp files
    • $\textsf{\color{#f34b7d}Version 2.2.0}$

      • Removed parallalism (redundant)
      • Fixed apple_pos delivering useless position
      • Added mt19937 random algorithm for better randomness

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors