Code Monkey home page Code Monkey logo

ot-harjoitustyo's Introduction

ot-harjoitustyo's People

Contributors

skajanti avatar

ot-harjoitustyo's Issues

Koodikatselmointi

Latasin projektin 23.4. klo 15:11.

Palaute:

Luokat, metodit, parametrit yms. on nimetty kuvaavasti ja noudattavat Clean Code -periaatteita.

Metodit eivät ole turhan pitkiä, eikä koodissa ole turhaa copy pastea.

Käyttöliittymä ja sovelluslogiikka on eriytetty kuten kuuluukin.

GameMapTest.java sijaitsee < default package >:n alla, vaikka < Default package > ei saisi olla käytössä! Muuten pakkausrakenne on ok.

Testikattavuus on aika hyvällä mallilla, mutta testejä voisi eriyttää. Esim. moveTest testaa usempaa asiaa.

Ohjelma ei kaatunut käytössä. Huomasin kuitenkin, että hedelmä saattoi generoitua taulukon reunalle, milloin se oli mahdoton syödä (mato kuoli). Huomasin myös, että nuolinäppäinten ns. rämpyttäminen kaatoi ohjelman (en tiedä toisaalta onko se ohjelmoijan syy).

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.