Skip to content

Releases: apesch85/codeacademy

Ravenous Part 2

28 Dec 18:40

Choose a tag to compare

This is the 2nd part of "Ravenous", a ReactJS application that interacts with the Yelp API to return search results for restaurants.

Changes in this version include:

  • Moved the business object into App.js
  • Passing information from the App container down into the child components:
    • Business
    • BusinessList

Passing information in this way is more typical across React apps.

Ravenous Part 1

26 Dec 21:29

Choose a tag to compare

This is the first part of "Ravenous", a ReactJS application that interacts with the Yelp API to return search results for restaurants.

Features in this version include:

  • Stylized front-end
  • Non-functioning search bars for:
    • Restaurant name
    • Location

Minesweeper part 6 (Final)

24 Dec 17:03

Choose a tag to compare

This is the final version of the Minesweeper project for Code Academy.

All code has been refactored into 2 separate files, and transpiled to work with older versions of JS syntax using babel.

Instructions for playing the game are as follows -

In the command line, navigate to the lib directory and run node
Run .load game.js to load the contents of this file.
Then create a Game instance and run commands like so:
let game = new Game(3, 3, 3);
game.playMove(0, 1);
game.playMove(1, 2);
When done run .exit

Minesweeper part 5

21 Dec 21:58

Choose a tag to compare

This is the fifth part of the Minesweeper project in Code Acedemy.

All code has been refactored to utilize class objects.

Minesweeper part 4

17 Dec 21:38

Choose a tag to compare

This is the fourth part of the Minesweeper project in Code Acedemy.

In this part, I expanded the functionality of the game by drawing both the player board and the bomb board. The player is then able to make a selection on the board by providing coordinates (inside the source code).

The code then dynamically maps the bomb locations onto the player board.

Minesweeper part 3

15 Dec 20:33

Choose a tag to compare

This is the third part of the Minesweeper project in Code Acedemy.

In this part, code is added that generates bomb boards that randomly generate a specified number of bombs on the board, as well as a generated player board.

=== Issue to be fixed ===
The code does not account for 2 bombs sharing a square in the grid, so you could in effect have 2 bombs on top of each other, resulting in what appears to be x - y bombs, where x is the number of bombs specified by the player, and y is the number of times the random function ends up selecting the same square in the grid more than once.

Minesweeper part 2

13 Dec 04:19

Choose a tag to compare

This is the second part of the Minesweeper project in Code Acedemy.

It leverages ".join()" to shape the board and hardcodes a couple variables to the board itself.

Minesweeper part 1

07 Dec 03:59

Choose a tag to compare

This is the first part of the Minesweeper project in Code Acedemy.

Note - The objective here was to print the game board in a "hard coded" way, which I've done. However I did it with loops instead of manual print statements for each row. Just cleaner =)