Accessible at https://sjaks.iki.fi/.
In the root directory of this repository, you can run
python -m http.server
to serve the website with a simple http server.
Routing daemons: visual representation of how packets flow on the web
Home Page: https://sjaks.iki.fi/demooni/
Accessible at https://sjaks.iki.fi/.
In the root directory of this repository, you can run
python -m http.server
to serve the website with a simple http server.
Some people like a slower pace and some others enjoy faster paced action. The speed of demooni should be adjustable.
Description
Demons a.k.a daemons. In my opinion it could be nice if there was a some kind of handshake between the daemons before the packet "pakeetti" is sent to another daemon. This could also simulate for instance TLS handshake.
Some other movement could also be added to daemons :)
I find having only a monkey god is very limiting. Spider monkey deity should bring more flexibility and usability for the obvious reasons.
Demoonis that haven't received a pakeetti shouldn't be killable.
The code has started becoming quite hard to read. The following steps should be taken to make the code look cleaner and readable.
So far, I have found the following:
newInterval
, i
, net
uhmaaApiinaJumalaa
function should be made modular so that other types of such entities could be spawnedAlso, are poistaDemooninPoloku
and demooninIndeksi
used? I cannot find any calls to them. @elguitar do you know if they can be removed from the code?
Possible users may be confused what this program is. Maybe there should be a better README.md file with a description, use case example and some screenshots and possibly installation instructions.
When the timeout inside of tapaDemooni
hasn't run out and tapaKaikki
has been executed either by pressing the SOS-button or Monkey God, the last spawned demooni starts to follow the packet.
When thinking about it, it makes no sense that the dogs would toss the ball around with each other. I suggest the ball should move around either following the mouse cursor or be tossed around with mouse clicks.
Not everyone has top of the line computer able to run the demanding graphics. There should be a mode where you enable basic ascii characters as the entities on the screen instead of the high quality images.
The first demooni cannot be killed because its kuolevainen value had to be set to false because the first demooni needs to exists for the program to work.
Maybe the first one shouldn't be a demooni at all because a reititysdemooni doesn't create the pakeetti in the first place.
The first spawned item could be a computer, for instance. In case of dogs, this doesn't work very well. Could the first demooni just be invisible?
The Monkey God now explodes all of the daemons when it spawns. This is great but it cannot kill the attacking daemons. Maybe there should be a RNG that kills some of the daemons while the Monkey God is alive.
In many cultures monkeys have special status, such as Hanuman or Sun Wukong. These divine creatures should be able to spawn in when the demons have multiplied out of control and deal with the demonic menace.
Demons are known for their ability to possess other creatures. Now and then they should take over monkeys and dogs and possess them to do some kind of demonic action instead of their normal monkey or doggo behavior.
The z-index of pakeetti should be set to something like 999.
There should be an option where the demons are replaced by dogs and the packet by a ball. The dogs should then chase after the ball as it moves across the screen.
Also, rename related functions accordingly.
For example,
function movePacket()
should become function liikutaPakeettia()
.
The Monkey God is very powerful but doesn't look like that. Maybe he/she should have some animation?
Shouldn't all the killed daemons become explosions when they are destroyed by the God?
Monkeys are receiving bananas and instead of eating them, they're just passing them off??? This makes absolutely no sense.
When at least one demooni is killed, the others start following the pakeetti.
Is this a feature of bug? The demoonis should have some random movement around their anchor (ravistaDemooneja). This is probably caused by removing the demooni from the page but not clearing it's coordinates from the coordinate array (poloku).
Does @elguitar have ideas how to fix this?
Dogs should bark as they frolic across the screen. This would serve as a good audio cue to the user that something is happening.
This was mentioned in #1 already, but it was declared to be out of scope.
Not everybody likes dogs. There should be a monkey mode with bananas. Monkeys also should have a thumb, while dogs don't have a thumb. There should be two kinds of monkeys: Helper monkeys and monkey companions.
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.