Skip to content

Zikithezikit/snake-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Snake Game with Multithreaded Rendering and FPS Display

This project implements the classic Snake game in C++ with enhanced smooth rendering using multithreading. It also includes FPS (frames per second) display for real-time performance monitoring.

Table of Contents

Features

  • Classic Snake game with a modern twist
  • Multithreaded rendering for smooth gameplay
  • Real-time FPS display
  • Adjustable difficulty levels

Requirements

  • A C++ compiler (e.g., g++, clang++)
  • Windows OS (due to dependency on <conio.h> and <windows.h>)
  • Make sure you have g++ installed and added to your system's PATH

Installation

  1. Clone the repository:
    git clone https://github.com/Zikithezikit/snake-cpp
    cd snake-cpp
  2. Compile the code:
    g++ -o snake_game main.cpp

Usage

  1. Run the game:
    .\snake_game.exe
  2. Follow on-screen instructions to enter your name and select the difficulty level.

Game Controls

  • W: Move Up

  • A: Move Left

  • S: Move Down

  • D: Move Right

  • X: Exit Game

About

Simple snake game in console

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages