Skip to content

JacobHess03/Dragon-Quest-I

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Dragon Quest I - C++ RPG with SDL2

This repository contains the source code for an RPG video game written in C++, inspired by classic turn-based games like Dragon Quest. The project utilizes the SDL2 library for graphics and input management and follows an object-oriented (OOP) architecture to promote modularity and maintainability. Code Structure

main.cpp – Application entry point
Game.* – Core game logic (initialization, game loop, state management)
Player.* – Player character class
Map.* – Map and environment management system
NPC.* – Non-player character management and interactions
BattleSystem.* – Turn-based combat system

Technologies Used

Language: C++ (C++17 standard or higher)
Graphics Library: SDL2
Paradigm: Object-Oriented Programming (OOP)

Notes

This README exclusively describes the code structure and organization. Compilation instructions, dependencies, or execution details are not included in this file. The code has been appropriately modified and customized from the original author's source code. BSD 2-Clause License

Copyright (c) 2024, Alessandro Bria

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

About

his project focuses on the development of a C++ video game inspired by Dragon Quest. It utilizes SDL libraries for graphics and CMake as the build tool. The game is an RPG featuring turn-based battles, exploration, and interactions with NPCs, all implemented with an OOP.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors