How to play: - use the left and right arrow keys to turn the worm - guide the worm to the randomly generated stationary spark before time runs out, as indicated by the shrinking line around the sphere - the worm will grow as you collect sparks, but if time runs out, the worm will shrink, and a new stationary spark will appear - the allotted time to collect sparks grows shorter as the worm grows longer - the game ends when you lose your last spark - the goal is to grow as large as possible
All art and code by me. Except for the status text at the top of the screen, which was suggested by @RokCoder and quickly implemented by @colinmacc. Thanks! Music: Electric by Leila K. Thank you @-TheGreenNinja- for FPCing this project (27 November 2019). Apparently, it was also top loved. Update 16 Nov 2019: After testing the game on a different computer (just after sharing the project) I decided to stamp the sphere, rather than drawing it with the pen. This improved performance greatly. There was a lot of trigonometry and ellipses, just to get a sphere... Every time the worm grows, the script checks if you have beaten the high-score. If so, this is stored in the cloud. You can just quit at any time if you have beaten the high-score, and don't have to wait for game over. From Wikipedia: A Faraday cage or Faraday shield is an enclosure used to block electromagnetic fields. A Faraday shield may be formed by a continuous covering of conductive material, or in the case of a Faraday cage, by a mesh of such materials. Faraday cages are named after scientist Michael Faraday, who invented them in 1836. https://en.wikipedia.org/wiki/Faraday_cage Wikipedia page about Spherical coordinate systems: https://en.wikipedia.org/wiki/Spherical_coordinate_system Historic high scores: @-CodePro- 502 @Waffledragon 247 @RokCoder 218 @scratchboybob 200 @ab195262 137 #games #description(Faraday Worm is a 3D game using the polar and azimuthal angles of the spherical coordinate system to create a snake of sparks, seemingly orbiting a sphere. You guide the snake, using the arrow keys, to collect sparks and grow longer.)