Git Product home page Git Product logo

fission's People

Contributors

andrewsav avatar c0deh4cker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fission's Issues

Suggestions for new components

  • Swap sign of energy
  • Copy energy to mass
  • Copy mass to energy
  • Read and write signed integers to and from energy
  • Repurpose lower case letters, as their current functionality can be recovered with '. Two options:
    1. Keep functionality, but change values to 0 to 25. It's currently a pain to set the mass to values in that range.
    2. Ditch them entirely to make room for 26 new components. In this case, one of them could be ' with an offset of -32. (I'd personally prefer this option.)
  • Delay component.
  • Debug component. (Covered in #2)

C sets mass to 1

I guess that makes sense since that's the starting value, but the docs currently say that it sets both mass and energy to zero.

Random mirror # doesn't compile with g++

When compiling with

g++ --std=c++11 *.cpp -o Fission

I get

Mirror.cpp: In member function ‘virtual bool fsn::Mirror::onHit(fsn::Atom&)’:
Mirror.cpp:65:38: error: ‘arc4random’ was not declared in this scope
    atom.dir = (atom.dir + arc4random() % 3 + 3) & 3;
                                      ^

Would you mind using a more platform independent PRNG there?

v1 Branch for Tio

I'm wondering if it's possible to host the v1 branch for TriItOnline in this repository, rather than on TIO's one.

Currently we have this branch in TIO repo:

https://github.com/TryItOnline/Fission/commits/v1

It has two additional commits as commits as compared to what's in this official repository:

  • changes for the linux compilers not to choke on the sources
  • memory corruption fix by Martin, which was eventually integrated in v2

These two things were needed to run v1 on TIO.

Would you be interested in making a v1 branch in this repo and apply these changes to it, so TIO could you that as the base for v1.

There is also a pull requests I just opened for the changes that TIO needs for v2, this is separate. Can it be merged as well? #6

Thank you in advance!

Add debug component

A debug component would be really useful which prints something like

Atom at (x,y) at tick t: (mass, energy)

without consuming the atom. I'm happy to implement this and send you a pull request, but I was wondering whether you would like to use a specific of the remaining reserved characters? If not, I propose ```.

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.