VR Games

Home > VR Games

The Classic Game but in Virtual Reality

The game works similar to the classic version and was programmed in Unity, while the visuals and 3D design was created in Blender. The setting of the game takes place in a park (because we should spend more time enjoying the environment), where the player is sitting at a picnic table surrounded by trees and greenery. When playing in this version, you can either click the trigger on your Google Cardboard headset to place your “X” piece on the board or press the space bar on your computer.

See more!

How it works.

Placing your X pieces

You must press a button on your VR headset or computer in order to place a piece on the board. To choose which spot to place your piece, the game detects your field of vision, or Raycast, which can be seen as a dot on the screen.

Computer selection

The computer randomly picks the spot to place the “O”. This is done by an array with 9 numbers in total, with each number assigned to a different space on the board. After every turn, the computer must generate random numbers until the number corresponds with an empty space on the board and an “O” is placed

Checking for win

In order to identify if someone has won the game, we need to program a horizontal check and vertical check for three pieces in a row. After checking, there are 3 different outcomes to this game; winning, losing, or having a tie.

More VR Games:

Flappy Bird - but in VR!

Everyone has probably heard about Flappy Bird by now; a simple side scroller game of a bird flying through pipes that went viral a few years ago (if you haven’t, the game is sadly no longer available). However, while playing, I always wondered what it was like to experience the game from the perspective of the bird. What would happen if I could be the flappy bird? Click the button below to learn how I did this...

Read more!

VR Fruit Ninja!

I’m not sure why, but slicing virtual fruit on my phone is extremely addicting. I used to love playing the Fruit Ninja app back when it came out and would spend hours trying to beat my friends’ high scores. As a result, when I started looking into virtual reality and learning about this awesome technology where you can create interactive 3D environments and games, I decided that I would make a spin-off of my favourite app in VR. Click the button below to learn how I did this...

Read more!