Giter Site home page Giter Site logo

stormsurge's Introduction

Build Status

StormSurge is a Battleships/Sea Battle inspired turn based game with bunch of ships and surprises.

StormSurge is developed as a course project at Department of Computer Science, University of Helsinki. See course instructions here.

stormsurge's People

Contributors

jkostet avatar

Stargazers

 avatar

Watchers

James Cloos avatar Eetu avatar  avatar

stormsurge's Issues

Koodikatselmointi

Yleisiä huomioita (.zip ladattu 1.4.2015)

  • Koodi on helppolukuista ja järkevästi sisennettyä.
  • Ohjelma on jaettu loogisesti pakkauksiin ja luokkiin.
  • Luokat toteuttavat Single Responsibility Principlen onnistuneesti.
  • Luokat ja metodit on nimetty selkeästi ja loogisesti.
  • Metodit ovat riittävän yksinkertaisia ja lyhyitä.
  • Ytimekkäät kommentit oikeissa paikoissa tekevät koodista helposti ymmärrettävää.

Luokkakohtaisia huomioita

  • TextBasedUserInterface: addShipToSea metodin tulisi (?) tarkistaa ettei syötteenä anneta meren sivun pituutta pidempää lukua. Nyt voin luoda vaikkapa 100000:n ruudun pituisen laivan. Tekstin syöttäminen kaataa ohjelman, jonkinlainen tarkistus olisi siis paikallaan.
  • Ship: Metodit ovat loogiset ja selkeät. Kommentti siitä että koordinaatit alkavat vasemmasta yläkulmasta helpotti hahmottamista huomattavasti. Tarkempaa analyysiä on vaikeampi antaa kun laivat eivät vielä piirry merelle.
  • ShipList: Onko tarpeellinen luokka vai olisiko sama käyttää suoraan ArrayListiä?
  • Testit: Yksinkertaisia, hyvin nimettyjä ja loogisia. Ei pahaa sanottavaa.

Summa summarum

Vaikea keksiä pahaa sanottavaa, ohjelma on mielestäni todella hyvin kirjoitettu. Jatka samaan malliin!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.