Skip to content

Instantly share code, notes, and snippets.

View Yul310's full-sized avatar

Samyul Yul310

  • New York
View GitHub Profile
/***********************************************************************
We've just covered how to write functions using arrow function syntax.
Let's give some old functions a new flair by rewriting them using fat arrow syntax.
Write a function `addFive` that accepts a number and will return that number
plus 5. Write this function on a single line, and utilize a fat arrow function's
ability to implicitly return by leaving out your own return statement.
Examples:
@Yul310
Yul310 / README.md
Created May 22, 2022 21:23 — forked from straker/README.md
Basic Missile Command HTML and JavaScript Game

Basic Missile Command HTML and JavaScript Game

This is a basic implementation of the Atari Missile Command game, but it's missing a few things intentionally and they're left as further exploration for the reader.

Further Exploration

  • Score
  • When a missile explodes (not a counter-missile), the score should increase by 25