Skip to content

sauciucrazvan/only-forward

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OnlyForward

Badge Badge Badge Badge

The OnlyForward project is a puzzle game developed in C++ with OpenGL, where the player controls a snake that must navigate a maze to achieve the highest possible score. The goal of the game is to reach the end of the level without getting stuck, earning points by completing levels quickly and collecting bonus items.

The mazes are complex structures that challenge players' logic and strategy. The game OnlyForward introduces a unique mechanic where the player cannot move back onto a tile they have already stepped on, unless they reset the level.

Technologies Used

  • Programming Language: C++ (Compiler: MSVC)
  • Graphics Library: OpenGL
  • IDE: Visual Studio Community 2022
  • Source Control: Git

Technologies

Launch and Runtime Requirements

The following packages are required to run the game:

All game files must be present in the same folder as the executable for proper functionality.

Player Controls

  • W, A, S, D – Move in the desired direction
  • R – Reset level (will give a score penalty)

Caution

The player cannot move back onto the path already traveled (this path is marked in light green, different from the other colors)

Adding a custom level

  1. CTRL+R – Generate a new level
  2. The generated level must be manually checked to ensure it is completable
  3. V – Save level
  4. The file 'level.out' contains the tile IDs of the level
  5. To add a custom level, the contents of 'level.out' must be copied into the Levels folder and saved as X.leveldata, where X is the number of the next level.

Note

The finish tile (ID: 1) should be included and reachable in the leveldata file to be able to complete the level.

Snapshots

Expand to view snapshots

About

A puzzle game developed in C++ with OpenGL.

Topics

Resources

License

Stars

Watchers

Forks