Creates a random dungeon in which you can explore. Lighting radius around character is 1 tile, and explored tiles get displayed as player moves around.
A Pen by David Markowitz on CodePen.
Creates a random dungeon in which you can explore. Lighting radius around character is 1 tile, and explored tiles get displayed as player moves around.
A Pen by David Markowitz on CodePen.
A Pen by David Markowitz on CodePen.
https://github.com/artfoundry/ar-sunlight-legislators |
https://github.com/artfoundry/ar-student-schema |
##Initializing a new repo Type in what comes AFTER the $...do not type in the $
BASIC git initialization and repo creation:
$ git init
This command creates an empty git repository - basically a .git directory with subdirectories for objects, refs/heads, refs/tags, and template files. An initial HEAD file that references the HEAD of the master branch is also created.
6 1 9 _ 3 _ _ 4 _ | |
2 7 _ _ 6 1 _ _ 8 | |
_ _ _ _ 4 7 6 2 1 | |
4 8 6 3 _ 2 _ 7 9 | |
_ _ _ _ 1 4 5 8 _ | |
_ 3 1 _ _ 9 _ 6 _ | |
_ _ 5 7 2 _ 8 _ 6 | |
3 2 _ 1 _ 6 _ 5 7 |
class BoggleBoard | |
def initialize | |
@board = Array.new(4) {Array.new(4, Hash.new)} | |
@dice = Hash.new { | |
"die0" => "AAEEGN", | |
"die1" => "ELRTTY", | |
"die2" => "AOOTTW", | |
"die3" => "ABBJOO", | |
"die4" => "EHRTVW", | |
"die5" => "CIMOTU", |