How Does Playing Snake in 4 Spatial Dimensions Work?

AI Thread Summary
A user has developed a game inspired by the classic Nokia Snake, but set in a four-dimensional Euclidean space. They created both a Python and a C++ version, with the latter being more stable and running at 60-65 fps after addressing bugs. The user acknowledges issues with the initial video presentation, including lag and music choice, and is seeking feedback to improve future videos. They also provide a link to the C++ source code, noting that it requires the Qt libraries for compilation. The discussion highlights excitement around the innovative concept of a 4D Snake game, while also addressing technical challenges and video quality concerns.
Pella86
Hi everybody,

I've a started a little a game, it is based on the nokia game snake, where you have to guide the snake and eat the food.

I wrote a little script in python, and a C++ version of the game but in 4 spatial dimension. The snake moves through a euclidean 4 space.

what do you think of the idea?

snake 4d:

(is it possible to download the executable, look at the video description, the python version is a bit buggy, but I have corrected the bugs in the C++ version, which is still not compiled)

stereoscopic view:


cheers,
Pella
 
Last edited by a moderator:
Physics news on Phys.org
That video sucks... it's all laggy and skips and the music doesn't fit it. Make a better video first then post it.
 
On the other hand, I love the video, Lisa Gerrard is awesome.

And the concept is freaking cool, I love this.
 
"pergradus" said:
4 Spatial Dimensions Snake
That video sucks... it's all laggy and skips and the music doesn't fit it. Make a better video first then post it.

thx for the sincerity, I already know about this problems and I'm trying to do a second video, but I'm trying to catch every opinion possible to make it better.

- The video is laggy, yes, there are some bugs (one in particular, the rendering function), I corrected it in the C++ version (by using OpenGL), now it runs at 60/65 fps. Which is really smooth. But the program I use to record the screen introduce some lags. If you have any program that works on mac for screen recording, well a suggestion is appreciated...

-music-> well is a matter of tastes and it was one of the few mp3 stored in my laptop ;) what would fit better?

KrisOhn said:
On the other hand, I love the video, Lisa Gerrard is awesome.

And the concept is freaking cool, I love this.

Thx a lot. if you want the source code of the C++ version which is actually playable is here:
http://www.mediafire.com/?x2bjhblt1114cuq

it has some problems with the make file, but it can be fixed, but I don't really know how.
To compile it needs the Qt libraries (download the Qt SDK(1.4Gb) and compile it (press run) it should work.)
 
Have you considered using some of the popular elements?
http://www.stopfinger.com/goods_c3BlY19pZAk1ODY4.html"
 
Last edited by a moderator:
I did a new clip that I hope it will shed a bit of light on the 4 spatial dimension snake...
how to play the 4d snake:
 
Last edited by a moderator:
Similar to the 2024 thread, here I start the 2025 thread. As always it is getting increasingly difficult to predict, so I will make a list based on other article predictions. You can also leave your prediction here. Here are the predictions of 2024 that did not make it: Peter Shor, David Deutsch and all the rest of the quantum computing community (various sources) Pablo Jarrillo Herrero, Allan McDonald and Rafi Bistritzer for magic angle in twisted graphene (various sources) Christoph...
Thread 'My experience as a hostage'
I believe it was the summer of 2001 that I made a trip to Peru for my work. I was a private contractor doing automation engineering and programming for various companies, including Frito Lay. Frito had purchased a snack food plant near Lima, Peru, and sent me down to oversee the upgrades to the systems and the startup. Peru was still suffering the ills of a recent civil war and I knew it was dicey, but the money was too good to pass up. It was a long trip to Lima; about 14 hours of airtime...
Back
Top