Coder Social home page Coder Social logo

explore's Introduction

Explore

An over-engineered JSON parser for a niche group of indivduals

What is it?

Explore is a player-first text based adventure game

JSON files make up the map and meta data used to save player progress withing that game

How to run?

Building from source:

Dependancies: - Go - Make

To run (without compiling): make

Compile to executable: make build

explore's People

Contributors

retr05041 avatar

Watchers

 avatar

explore's Issues

Load rooms through a JSON stream intro a struct

This is to save RAM space (not loading entire JSON file), and allows rooms to be accessed through structs for ease of reading.

This will also help begin solidifying our json map structure...

TUI Upgrades and Fixes

A small overhaul of the TUI:

  • Make a cutting function that takes messages and depending on the width of the viewport will cut messages up to that amount and append them individually
  • Inventory needs to reload every time a new item is added
  • Make inventory look better (make it full size for the box it's in, remove help text (move it to bottom?), squish it to be thinner
  • Change colours a bit - have constant white borders for the inventory and room info models. Need to brainstorm colour scheme...
  • Make the text area have a border?
  • Remove q / ctrl+c quit functionality - I want you to have to type "quit" into the text area or some other variation (to stop restricting us from the use of the letter "q")
  • Scale-able to window width and height?
  • Remove J + K moving within viewport
  • Centralize sizes
  • escape command to leave an ending room (end game)

Custom database 'playerhandler' sqlite api

Needs to be able to:

  • Load a .db file
  • Determine if the db file exists or if it needs to make a new one
  • Use metadata from the map to determine the scheme of the player table
  • Load a player from the database and return a struct pointer for use within the game
  • Save the player data given a struct

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.