4d Snake

No.9944335 ViewReplyOriginalReport
Hello /sci/,

I've made a little game in 4 dimensions. The mechanics are like the old nokia snake game, but this time I put the game in a tesseract.

Here is the source code, is written entirely with python STL.
https://github.com/Pella86/Snake4d

Here is a little video of the game, the video was made by using blender.
https://www.youtube.com/watch?v=M1nB-Q0JOBA


I wanted to open this thread to answer some questions that popped up the previous thread.

>>9935487
> can we do dis in real life
I don't think is possible, yet with some engineering work maybe you could try to represent "a game".
Is funny how some projections will look like a cube in 3 dimensions, but when you walk around them it blows up in it's full complexity. (I would like to make a real artwork with that). It is much like when we look at a cube and we se only square, but when we walk around we see the completeness of the cube.

>>9937435
> I'm trying to think about how you could represent the tail of the snake without losing information (...)
Is a really good idea, trying to have all 7 directions in one picture! I'll see if I can conceptualize it as a visualization method.

>>9938119
> (...) May I ask why did you write your own Matrix class from scratch (...)
I chose not to use external libraries and I wanted to learn it myself. Numpy is a huge drag, and a huge library. Is awesome but, for me, is not easy to extract the code I need and simply copy paste it. If I wanted to use external libraries I could have went for PyOpenGL which is more indicated than Numpy.

>>9938250
> (...) For starters on my 1366x768 display the YX, WZ boxes go outside the screen.(...)
I would maybe try a resolution independent game interface, yet I still need to dig into Tkinter library to make it happen