Solar Constelation
!Disclaimer
This game is a prototype.
# Short Story
You are a medium that predicts the future. You prove that constantly by predicting the constelation of the stars and planets. The more your predictions occur the better is your reputation. But with time the people get increeasingly skeptical.
# Gameplay
At the bottom of the screen you see the constelations you 'predicted' to occur.
Now you need for them to actually appear. From the planets point of views. By rotating planets around stars you can fullfill your predictions.
Planets are the little Blue Circles with a white triangle. Drawing a straight line from the planet in all 4 directions (up, left, right, down) will give you the star-constelations, the planet perceives.
A constelation must appear in order and with nothing in between, to count as valid. It is not necessary to start from the beginning. If for example a planet sees "Red, Yellow, Red, Purple" , it would fit both constelations "Red, Yellow, Red" and "Yellow, Red, Purple".
Having the same constelation appear multiple times increases the overall points you get for that. However a single line of sight (Up, Down, Left, Right) can only count for a single Constelation. But a planet can have multiple. This means per planet you can have 0 to 4 times showing your constelation.
You manipulate the board by clicking on any bigger celestial objects. this includes the black hole, the yellow dwarf sun, and the red giant sun. Upon doing so all objects in a certain range rotate around that object. The yellow dwarf has a range of 3, the red giant of 5 and the black holes influence is infinte.
Objects cannot leave the map if they would do so the appear at the next position in the that is on the board again.
Code: https://github.com/tobidot/solar-constelation
Comments
Log in with itch.io to leave a comment.
I didn't quite understand the gameplay... Do we have to restore the constellations like a puzzle?
No, you have to create the constelations shown at the bottom.
Doing so will earn you points, and you get a new Constelation you need to create next.
There is no final state in this game where you, decide that you have made it or not.
Instead, the idea is that you carefully plan your rotations so that you can possibly get a constelation multiple times in the same turn, much like you would do in tetris with trying to stack multiple rows.