Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
coopersamuel committed Apr 20, 2018
1 parent 93e8a8e commit 07b9c07
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 42 deletions.
3 changes: 0 additions & 3 deletions src/actions/actionTypes.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
// Action types
export const EDIT_BOARD = 'EDIT_BOARD';
export const GAME_OVER = 'GAME_OVER';

export const PLACE_BOMBS = 'PLACE_BOMBS';
export const GENERATE_BOARD = 'GENERATE_BOARD';
export const CHANGE_DIFFICULTY = 'CHANGE_DIFFICULTY';
Expand Down
18 changes: 0 additions & 18 deletions src/actions/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,6 @@ import * as Types from './actionTypes';

// action creators

// export function editBoard(board) {
// return {
// type : EDIT_BOARD,
// payload : board
// };
// }

// export function gameOver(isWinner) {
// return {
// type : GAME_OVER,
// payload : isWinner
// };
// }

/*
* New stuff
*/

export const generateBoard = (numberOfRows, numberOfColumns) => {
return {
type: Types.GENERATE_BOARD,
Expand Down
21 changes: 0 additions & 21 deletions src/reducers/boardReducer.js

This file was deleted.

0 comments on commit 07b9c07

Please sign in to comment.