Skip to content

Programmer25X/Treasure-Hunter-Console-Game

Repository files navigation

Treasure Hunter Console Game

Overview

Treasure Hunter is a C++ console game, in which the player character must navigate through a series of levels, activate pressure plates to unlock new areas and gather treasure. The game was developed by using the object-oriented programming paradigm, and using conditional statements, arrays, loops and pointers.


Technical Details

  • Data Structures & Control Structures: Implemented data structures (including 3D arrays) and control structures to manage the player character's movement, the combat system and level management
  • Game Logic: The game logic consists of turn-based player vs enemy (PvE) combat, gaining access to new areas and collecting coins and treasure
  • Object-Oriented Programming (OOP): By using classes, inheritance, encapsulation and reusable components, I produced more efficient and robust code, some of which could be reused effectively
  • Event-Driven Programming (EDP): Used control structures to implement event listeners, allowing the state of the game to change according to the player's inputs
  • Memory Management: Utilised pointers to dynamically allocate and deallocate memory during runtime

Current Game Features

  • Three unique levels
  • PvE combat system
  • Player character health and movement system
  • Pressure plate mechanic
  • Coins and treasure system
  • In-game entity memory management

Tools & Languages

Tools

  • Visual Studio
  • Git

Languages

  • C++

Media

TreasureHunterStartImage

Captured image of Start Menu

TreasureHunterLevelOneImage

Captured image of Level One

TreasureHunterLevelTwoImage

Captured image of Level Two

TreasureHunterLevelThreemage

Captured image of Level Three

Portfolio Page

Play on itch.io


Gained Skills

  • Organisational Skills: Planned, designed, implemented and tested my project, whilst ensuring to use source control and maintain backups
  • Computational Thinking: Utilised computational methods including decomposition, abstraction and visualisation
  • Testing & Debugging: Throughout the development process, I had to continuously debug and test the source code and handle any warnings or errors
  • Documentation: Produced thorough documentation throughout the entire planning, design, implementation, testing and evaluation phases

Reflection

Developing Treasure Hunter has developed my understanding of the C++ programming language and provided the opportunity to learn and apply different concepts, such as conditional statements, loops, arrays, pointers, object-oriented programming (OOP), procedural programming and event-driven programming (EDP). By developing my understanding of these concepts, I have since started a custom OpenGL C++ graphics engine by applying these concepts.

About

C++ Console Game

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages