Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ramzijabali/ship-sinking-game-mvvm-java

Refactored previous CS project to use MVVM pattern
https://github.com/ramzijabali/ship-sinking-game-mvvm-java

java mvvm

Last synced: 2 days ago
JSON representation

Refactored previous CS project to use MVVM pattern

Awesome Lists containing this project

README

        

# Sink the Ship Game
In my CSC110 Intro to Java class, I was tasked in doing a sink the [sea ship game.](https://github.com/RamziJabali/CSC110-intro-to-java/tree/master/assignment-4-sea-game) In looking at industry standards of development, I found the Model, View, View Model ([MVVM](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93viewmodel)) a standard. I took the time to read up on it and redo the project using the pattern accordingly.

## Playing then quiting after short period

![1](https://github.com/RamziJabali/ship-sinking-game-mvvm/blob/master/MVVMGIFS/MVVM1.gif)

## Player Hitting own ship

![2](https://github.com/RamziJabali/ship-sinking-game-mvvm/blob/master/MVVMGIFS/MVVM%20Hit%20own%20ship.gif)

## Player misses hitting a ship

![3](https://github.com/RamziJabali/ship-sinking-game-mvvm/blob/master/MVVMGIFS/MVVM%20hit%20nothing.gif)

## Player destroys enemy ship

![4](https://github.com/RamziJabali/ship-sinking-game-mvvm/blob/master/MVVMGIFS/destroyed%20Enemy%20ship.gif)

## Player hits already hit ship

![5](https://github.com/RamziJabali/ship-sinking-game-mvvm/blob/master/MVVMGIFS/MVVM%20Hit%20own%20ship.gif)

## Player Wins game

![6](https://github.com/RamziJabali/ship-sinking-game-mvvm/blob/master/MVVMGIFS/MVVM%20end%20game.gif)