HyperMatch 3D game, is a manifold match 3 game, where you switch sphere positions so that a neighborhood of spheres are of the same color. Joining 3 spheres with the same color together will make them disappear. The goal of the game is to remove 10% of the spheres in the least time possible.
- Git clone the repo:
git clone git@github.com:pedroth/hyper-match-3d.git - Use
npmorbunto install it:npm iorbun install. - Run it with
node:node index.js
left clickto select a sphereright clickto move the camera
By selecting two adjacent spheres, you can swap them. If three or more spheres of the same color are connected, they will be removed from the mesh.
That's it! Have fun!
Just need to run:
npm run build_dockernpm run docker_run
If you don't have npm installed, run docker commands directly:
docker build -t hypermatch3d .xhost + && sudo docker run --rm -v /tmp/.X11-unix:/tmp/.X11-unix:ro -e DISPLAY=$DISPLAY hypermatch3d
- Sound by Mikhail from Pixabay
- Background image from: texturify
- Mesh from: Simplified Stanford bunny using myminifactory
- No bugs
- Select shader
- Create web version
- Better network generation
- Create executable (not possible)
- Create executable with dockerc
- Improve performance
- Select difficulty level (?)
Dedicated approximately 30 days to this. The demo is finished, you can run it using node. As of 2024, is not possible to create a single executable application(SEA) with node and es6 imports.Also the software render is pretty slow, even when using multi-threading achieving a range of 3 to 8 fps. Hence I mostly given up on this now.
For some reason, as of 2024,
bunis not working properly.
First you need to build the docker image using npm run build_docker, then run dockerc:
sudo ~/<localization>/dockerc --image docker-daemon:hypermatch3d:latest --output hypermatch3d
Then to run executable you need to pass some parameters:
xhost + && sudo ./hypermatch3d -v /tmp/.X11-unix:/tmp/.X11-unix:ro -e DISPLAY=$DISPLAY
