Skip to content

A simplified C++ remake of the Snek game using DirectX 11.

Notifications You must be signed in to change notification settings

tessapower/snek-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snek!

MSBuild

A simplified C++ remake of snek! using DirectX 11 and Win32.

Snake is somewhat a rite of passage, and I originally created snek! here. This is a super simple remake as an intro to DX11 and the Win32 API. ||||||| parent of f7b53fb (Add MSBuild status badge to README) A simplified C++ remake of snek! using DirectX 11.

⚠️ TODO: Add link to the original snek when the repo is up!

Requirements

How to Build & Run

You can build the solution using either Visual Studio or from the command line with MSBuild.

Visual Studio

Building the solution should work as expected. Wait for the solution to load and press the big ol' play button (or ctrl-F5 if you are lazy like me).

MSBuild from the Developer Command Prompt

You can build the solution with MSBuild from a Developer Command Prompt, or from Powershell if you have the standalone Build Tools for VS 2022 installed and don't want to launch Visual Studio.

Run MSBuild.exe in the root of the project (automatically builds the .sln file in the current dir) and then launch the game with .\x64\Debug\Snek.exe.

How to Play

🐍 Use the arrow keys to move snek around the screen.

🍎 Eat the apples and your tail will grow longer.

🪨 Avoid the walls and rocks.

There is no fancy-pants screen management or menu in this simplified version. If your snek dies, restart the program.

Snek Title Screen

About

A simplified C++ remake of the Snek game using DirectX 11.

Topics

Resources

Stars

Watchers

Forks

Languages