loading...

Derelict: Battleship in VR

ryanstonebraker profile image Ryan Stonebraker ・2 min read

Summary

Derelict is a Virtual Reality based spin on the classic battleship game that allows a player to compete against an AI while standing on a cliff overlooking the foggy sea. When a player places a ship on the board, it appears in the distance on the water. When the player or AI lands a shot, a visible explosion is seen and heard coming from the ship on the sea. When all parts of a ship are hit, it sinks down beneath the waves.

Demo Link

Overly Dramatic Derelict Demo Video

GitHub logo RyanStonebraker / Derelict

A battleship game in Virtual Reality using Unity and SteamVR.


 ▄▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄            ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄
▐░░░░░░░░░░▌ ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░▌          ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌
▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀▀▀ ▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀▀▀ ▐░▌           ▀▀▀▀█░█▀▀▀▀ ▐░█▀▀▀▀▀▀▀▀▀  ▀▀▀▀█░█▀▀▀▀
▐░▌       ▐░▌▐░▌          ▐░▌       ▐░▌▐░▌          ▐░▌               ▐░▌     ▐░▌               ▐░▌
▐░▌       ▐░▌▐░█▄▄▄▄▄▄▄▄▄ ▐░█▄▄▄▄▄▄▄█░▌▐░█▄▄▄▄▄▄▄▄▄ ▐░▌               ▐░▌     ▐░▌               ▐░▌     
▐░▌       ▐░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░▌               ▐░▌     ▐░▌               ▐░▌     
▐░▌       ▐░▌▐░█▀▀▀▀▀▀▀▀▀ ▐░█▀▀▀▀█░█▀▀ ▐░█▀▀▀▀▀▀▀▀▀ ▐░▌               ▐░▌     ▐░▌               ▐░▌     
▐░▌       ▐░▌▐░▌          ▐░▌     ▐░▌  ▐░▌          ▐░▌               ▐░▌     ▐░▌               ▐░▌     
▐░█▄▄▄▄▄▄▄█░▌▐░█▄▄▄▄▄▄▄▄▄ ▐░▌      ▐░▌ ▐░█▄▄▄▄▄▄▄▄▄ ▐░█▄▄▄▄▄▄▄▄▄  ▄▄▄▄█░█▄▄▄▄ ▐░█▄▄▄▄▄▄▄▄▄      ▐░▌     
▐░░░░░░░░░░▌ ▐░░░░░░░░░░░▌▐░▌       ▐░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌     ▐░▌     
 ▀▀▀▀▀▀▀▀▀▀   ▀▀▀▀▀▀▀▀▀▀▀  ▀         ▀  ▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀▀       ▀      
                                                                                                        
 

A virtual reality battleship game. Download v1.0.0 Here

Derelict VR

Getting Started

Derelict is an MIT licensed Battleship game developed for virtual reality using Unity and SteamVR. It has been tested to work on both the Oculus Rift and HTC Vive. Full gameplay has been tested to work, but no releases have been added to the git repository. If any bugs are found, please make an issue.

Prerequisites

Developers

  • Unity
  • Unity supported IDE (VS 2017 works, but…

How I built it

This project was built as part of my Software Engineering class during my 2nd year of college. The goal of the project was to spend a total of around 15 hours peer-programming some version of the game of battleship while using best coding practices. My fellow classmate and I took this as a challenge to not only build a full-scale Virtual Reality rendition of battleship using SteamVR, Unity, C#, and Github Atom, but to also do it hackathon style in a single day. We started at 10 am in the morning with a complete blank slate and by 5:30 am the next day and many RedBulls later, we had a finished, working build of the game. However, since we had started so early before the project was due, we ended up spending additional hours adding in extra features, improving the graphics, and making an overly dramatic demo video.

Additional Thoughts / Feelings / Stories

This project was pivotal to my college experience for many reasons. For one, it was my first taste at programming in something akin to a hackathon environment. This stuck with me so much that the following year, I pushed for and led the organization of the first ever school-wide hackathon at my university and formed a hackathon committee where I encouraged others to experience this alternative work style. Additionally, this project was one of the rare instances in which I was not chasing deadlines in college and actually had time to expand on ideas that were initially considered reach goals. This led to a level of learning that far exceeded the initial bounds of the project and helped shape my path as a software developer.

Posted on May 20 by:

ryanstonebraker profile

Ryan Stonebraker

@ryanstonebraker

Recent CS master's grad from the University of Alaska Fairbanks, avid caffeine enthusiast, incoming fulltime NASA JPLer

Discussion

markdown guide