c0deh4cker / fission Goto Github PK
View Code? Open in Web Editor NEWThe programming language that defies the laws of physics
License: MIT License
The programming language that defies the laws of physics
License: MIT License
'
. Two options:
0
to 25
. It's currently a pain to set the mass to values in that range.'
with an offset of -32
. (I'd personally prefer this option.)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.
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?
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:
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!
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 ```.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.