This project is an attempt to recreate Wordle in VR using React Three Fiber and React XR. The most up to date release can be found deployed at this link. This project has not been tested with a wide range of VR devices and was built with Oculus Quest 2 in mind and should work as long as one right handed controller is connected. It is not compatible with Oculus Go. The game plays as normal Wordle, where an alphabet of blocks can be found on the table infront of the player, and a set of five pillars behind. To make a selection the player needs to place their chosen letters on each pedestal and then click the submit button. If any letters have been lost or displaced into unreachable locations the reset button can be used to drop all the letters back to the table. After a guess, the letters chosen that were not used will disappear from the game world and another guess can be made, until the correct word has been found or the player uses up all six guesses!
The first page the user will be directed to will be the Homepage, where users can enter a Username or have one randomly generated. The user can also choose to toggle Colour-Blind Mode, which changes the colour-palette for the grid to be more accessible for those who are colour-blind. After submitting a username, the page will begin to load the app, after which a prompt will appear at the bottom of the page, allowing the user to enter a WebXR-powered interactive experience.Entering VR here allows you to play the game fully. Pick up the letters and place them on the pedestals in front of you. Once your guess has been constructed, point at the SUBMIT
button on your right and click select to check your guess against the day's answer. If you lose a few blocks or they get out of reach, hit the red RESET
to your left to respawn the current pool of letters. When the game ends, either after you guess correctly or run out of guesses, the app will close the current XR session and redirect you to the results page, where you can see how you did compared to other users.
- Mountain Model - https://www.cgtrader.com/free-3d-models/exterior/landscape/mountainwithtress
- Pedestal - https://sketchfab.com/3d-models/doric-twist-pedestal-7936fc9cbb6547459bfecb20910281ec
- Audio SFX - https://www.zapsplat.com/
- react-three/cannon @4.7.0
- react-three/drei @8.10.6
- react-three/fiber @7.0.26
- react-three/xr @3.4.0
- use-gesture/react @10.2.6
- date-fns @2.28.0
- react @17.0.2
- react-spring @9.4.3
- three @0.137.5