This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------ | |
System Information | |
------------------ | |
Time of this report: 12/16/2015, 18:53:14 | |
Machine name: DESKTOP-QVPBLR0 | |
Operating System: Windows 10 Pro 64-bit (10.0, Build 10586) (10586.th2_release.151121-2308) | |
Language: English (Regional Setting: English) | |
System Manufacturer: LENOVO | |
System Model: 444625U | |
BIOS: Ver 1.00PARTTBL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void board::incrementNotMines(point p) { | |
minesweeper::board b=*this; | |
point tmpPoint; | |
// Function that increments all nearby spots, unless it is a mine (-1) | |
for(int i=-1; i<=1; i++) { | |
for(int j=-1; j<=1; j++) { | |
tmpPoint.x=p.x+i, tmpPoint.y=p.y+j; | |
if(tmpPoint.chkValidPoint(b) && b.board[tmpPoint.x][tmpPoint.y] != -1) { | |
b.board[tmpPoint.x][tmpPoint.y]++; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
######################################################################## | |
# # | |
# Kaiden's LEMH Installer # | |
# # | |
# This is a auto installer that installs the packages needed for # | |
# a LEMH (Linux (E)nginx MariaDB (PHP) HHVM) install. # | |
# # | |
# Credit to: http://www.maketecheasier.com/setup-lemh-stack-in-ubuntu/ # |