Update Robot.scala

This commit is contained in:
kamoshi 2019-12-11 12:33:00 +01:00 committed by GitHub
parent 7f4f823b0b
commit 9f6ca0fb85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,6 +34,7 @@ class Robot(software: Array[Long], init: Int = 0) {
}
// This print function uses a naive approach of having stuff hardcoded for my output, so might require calibration
// TODO make this better
def printMap(): Unit = {
val matrix = Array.ofDim[Char](6, 46)
map.foreach(tuple => {