Giter Club home page Giter Club logo

extremelybasicbattlesimulator's Introduction

Extremely Basic Battle Simulator

An extremely basic battle simulator I did for college. It's pretty terrible.

What the hell is this?

I had to make a game for college. In C++. I was originally gonna reuse my playerobject project, but that was done in Python, and the requirements asked for C++ in particular, so I had to come up with something on my own. Based off of my aforementioned project, but fundamentally different, this project was intended to be an RPG game. Since I really suck at C++, and considering the deadline, it's now Extremely Basic Battle Simulator, obviously ripping off inspired by the title of Landfall Games' Totally Accurate Battle Simulator.

Extremely basic?

Yeah, you heard me. This consists of one C++ program that works via command-line. It also uses cross-platform stuff, so you can compile and run it with basically anything that supports C++11.

How do I play this?

Compiling is super easy.

For the experienced programmer

On Linux and macOS, you should be able to run g++ from the command line. On Windows, you should probably install MinGW. See here for a tutorial on using g++.

For the less experienced

If you just wanna run the code without the hassle of using the command line, you can use a website like cpp.sh and paste the source code in there.

For people who are completely clueless

If you can't even do that, you can run the code at repl.it.

Bruh

Seriously? Too lazy to click a link? Alright, fine, I'll show you some output...

SpeedX243 challenges Enemy to a fight!

SpeedX243 attacks! Dealt 50 points of damage!
Enemy received 50 points of damage! Enemy now has 100 points of health!

Enemy attacks! Dealt 20 points of damage!
SpeedX243 received 20 points of damage! SpeedX243 now has 100 points of health!

SpeedX243 attacks! Dealt 50 points of damage!
Enemy received 50 points of damage! Enemy now has 50 points of health!

Enemy attacks! Dealt 20 points of damage!
SpeedX243 received 20 points of damage! SpeedX243 now has 80 points of health!

Enemy has been defeated! Victory!

extremelybasicbattlesimulator's People

Contributors

aeriavelocity avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.