Giter Site home page Giter Site logo

lifesim's People

Contributors

justinbax avatar

Watchers

 avatar

Forkers

fungamer2-2

lifesim's Issues

Make constants

Replace pretty much every number except 0, 1, -1 and 2 a constexpr to facilitate updates

Future issue : aging 2 years at once, relationType override

Future issue : when you befriend (or start any form of relationship with) a classmate (or teacher or any person from your occupation), a Friend object will need to be created for the same person, doubling data. Otherwise (and I don't know how an otherwise is possible yet), relationType will be overriden to lsim::RELATIONFRIEND or whatever it is and the new friend will be added to the main character's relationships vector. In this situation, the friend would age 2 years in a single lsim::mainCharacter::ageAYear call : once via the relationships vector, and once via the occupation, along with many other problems, I'm sure.

Improve generateStats

Current stat generating algorithm's distribution is as follows:
image
Remove the gap in the middle, focus more of the distribution around 65~70

School type is default

The school's menu says DEFAULTOCCUPATION (type 0) even though ctor was called with type 2

Memory management

Objects created inside a vector (ex. Occupation objects in lsim::mainCharacter.occupations) stay in memory until termination of the program, even after erasing them from the vector. Should allocate these objects to the heap and call delete when done with them.

Error code 305 on getTXT call

When executing the binary from the os file explorer, getTXT cannot find the txts because the given paths are relative to the root of the lifesim folder, so it searches for ./data/txts/whatever.txt and it resolves to lifesim/bin/data/txts/whatever.txt Temp fix : just cd wherever/lifesim or move the executable to the root of the project folder.

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.