Giter Club home page Giter Club logo

simpletextgame's Introduction

SimpleTextGame

A simple c++ text based game

Built Release (May need to instal c++ libraries): https://github.com/winterNebs/SimpleTextGame/raw/Noise/textgame.exe

Simple Text Game is a simple, infinite, open world, top-down, text-based game. This was a 1 month project, completed in October 2017, to help familiarize myself with C++.

The first 14 days were spent on getting the basics of the tile engine to work properly, including actually getting output at all, storing data properly, etc. The next 2 days were spent on setting up hashing for the data storage (16x16 tiles are stored in a Chunk, all the chunks are stored in the hash). 2 more days were spent on getting the draw function to properly read from the hash map (stitching the chunks together). Days 19-24 were spent on making tiles generate randomly using a perlin noise function. Days 25-30 were spent on implementing enemies.

I learned a lot during the development of this game. In addition to just learning the syntax of C++, I learned a lot more about pointers, which don't really exist in Java. I also learned more about vectors, which exist in Java, however I have not used them much before. I would have liked to continue developing this game, however due to the flickering caused by the console, I decided it was not worth it to do another month.

textgame_2017-11-21_16-27-05 textgame_2017-11-21_16-28-24 textgame_2017-11-21_16-28-54 textgame_2017-11-21_16-31-36 textgame_2017-11-21_16-32-51 textgame_2017-11-21_16-33-12 textgame_2017-11-21_16-34-28

simpletextgame's People

Contributors

winternebs avatar

Stargazers

 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.