This file contains 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
1. Go to https://golang.org/dl/ and get download based on your OS. | |
2. Get VSCode | |
3. Get all the installs that VSCode recommends for Go. |
This file contains 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
Verifying my Blockstack ID is secured with the address 1MDjAKK1ySkgQkSNULf467H5jdwqvpTinF https://explorer.blockstack.org/address/1MDjAKK1ySkgQkSNULf467H5jdwqvpTinF |
This file contains 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
# 4 in a row game | |
# https://en.wikipedia.org/wiki/Connect_Four | |
''' | |
Game | |
board: a 2D array of cells | |
check_winner(): check who won the game every input from player1 or player2 | |
game_over(): terminates a game | |
place_checker(x, y, player): takes an input and update a cell | |
print_board() |
This file contains 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
''' | |
mine_sweeper | |
board: 2D array | |
cell | |
state: mine or not | |
revealed: revealed or not | |
value: number of mines in surrounding zone | |
reveal(x,y): reveal the cell | |
game_over(): exit the game |
NewerOlder