GithubHelp home page GithubHelp logo

holylovenia / less-than-3 Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 596 KB

Dungeon-crawler RPG/Adventure game with an unusual story.

License: MIT License

Makefile 2.85% C 92.09% C++ 5.06%
c text-based-adventure text-based-game ncurses-library

less-than-3's Introduction

LessThan3

Dungeon-crawler RPG/Adventure game with an unusual story. README by Rionaldi Chandraseta.

LessThan3 Main Menu

Credits

Getting Started

The game is written in C and requires the ncurses library to run as intended. The ncurses library is, unfortunately, exclusive for Linux and can be installed by using the command sudo apt-get install libncurses-dev

It is possible for Windows 10 users to run this game through Windows Subsystem for Linux (WSL). Simply type the exact command to install the ncurses library through WSL.

To get the intended color that is designed for this game, change the terminal's color palette to match these colors.

Color Name Color Hex
BLACK #04252E
RED #A31929
GREEN #00B159
YELLOW #FFC425
BLUE #3B5998
MAGENTA #F799B5
CYAN #66CCCC
WHITE #FFFFFF

Alternatively, using dconfEditor, copy and paste this line on the terminal > settings > palette menu #04252E:#A31929:#00B159:#FFC425:#3B5998:#F799B5:#66CCCC:#94A3A5:#46585D:#DC322F:#329F69:#FFCA66:#268BD2:#F799B5:#7FC6C1:#FFFFFF

Make sure to adjust the terminal's size before launching the game. The game will not display texts properly if the terminal is too small. Adjust your terminal to be at least 167 columns x 38 rows wide.

To start the game, simply navigate to the game's bin/LessThan3 directory and run the game by using the command ./LessThan3

Please do not spam commands while the game is loading or showing animations to avoid further input lags.

Gameplay

The game controls are mostly by using WASD to navigate, and several other keys to access different menus. The controls are mostly displayed on-screen when they are accessible.

The goal of the game is to defeat the boss of the dungeon (shown as Q in the map). Initially, the boss will be way stronger than the player, so the player would need to level up a lot before having a chance to defeat the boss. The game would be over if at any time the player reached 0 HP.

In battle, there are three different moves. A for Attract, B for Bore, and F for Flirt. Okay, we just mix and match the words to suit the game's story about romance, but that is not important. Each battle is divided into 10 rounds, and the player could do 4 moves in each round. Two out of four of the enemy's move will be shown to make it easier for the player to counter the enemy. See the following move matchup for more details.

Move Matchup

Your Move Enemy's Move Effect
A A Both deals normal damage.
A B Player deals 0 damage to enemy.
A F Player deals normal damage, enemy deals reduced damage.
B A Player takes 0 damage from enemy.
B B Nothing happens.
B F Player takes critical damage from enemy.
F A Player deals reduced damage, enemy deals normal damage.
F B Player deals critical damage to enemy.
F F Both deals reduced damage.

Medicine

The player would not regain any HP after a fight. The only way to regain HP is by taking medicines (shown as M in the map). Keep in mind that the amount of medicine is fixed and no medicine will be added later in the game. Use these medicines wisely.

Attributes

Player starts with 50 points in all attributes (Strength, Defense, and Luck). Strength (STR) increases the damage that your Attracts and Flirts do, defense (DEF) increases the player's total health, and luck (LUC) increases the chance of critical hits in battle.

Player will gain 10 attribute point for leveling up. These points could be distributed freely on any attributes. However, the player could not reallocate the points once the changes have been confirmed. The game will save after the player confirms attribute placement.

Skills

There are 9 total skills in the game, 7 of which are passive skills, and 2 are active skills. Details about the skills could be read in-game.

In-game Screenshots

LessThan3 Map

LessThan3 Attribute

LessThan3 SkillTree

LessThan3 Battle

less-than-3's People

Contributors

holylovenia avatar luqmanarifin avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

hexcolors60

less-than-3's Issues

Segfault after loading screen in Arch linux

peek 2018-04-12 10-40

I'm on arch linux with ncurses 6.1-3. less-than-3 can be compiled and started, but when I press a button after the loading screen I get a segfault. Do you have an idea, what's the problem here?

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.