GithubHelp home page GithubHelp logo

bepsik777 / battleship Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 308 KB

A classic battleship game implemented with vanilla js

Home Page: https://bepsik777.github.io/battleship/

JavaScript 100.00%

battleship's Introduction

battleship

This is the battleship project from theodinproject.com (link to the assignment: https://www.theodinproject.com/lessons/node-path-javascript-battleship)

Alt text

What i learned:

  • I learned the basics of unit testing using jest
  • I improved on writing algorithms, which i did by implementing smarter AI. Now, when ai will hit a field with a ship on it, next time it will hit adjacent fields the same way a human would do.
  • I have improved on writing less coupled code...

What i want to improve:

  • Because i spend A LOT of time decoupling it because at one point, i went straight into rogue coding. I should definitely try to avoid this state, because it without lot of experience it lead to poor quality code, and in effect i spend more time fixing all of it. After trying to decouple and clean the code, it is better then before but obviusly far from perfect.
  • I want to improve my UI design and implementation, although the simple layout and design is kind of a choice i made. Mostly because i want to move with the course, there is so much to learn!
  • I definitely want to improve the responsivness off my designs, but i know there are upcoming lessons on the odin project about that.

Overall, i see a lot of improvement, when compared to older projects like tic-tac-toe or todo list. Mostly in my headspace, as i am not as much overwhelmed when thinking about the project requirements at the beginnig asi was before. A very valuable lesson.

Now to advanced html/css lessons, and after that the new REACT course!!!

P.S. Thank you to all theodinproject.com contributors. You guys are doing an amazing job and you really changed my life! I will make sure to give back to the community one day.

battleship's People

Contributors

bepsik777 avatar

Watchers

 avatar

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.