I hereby claim:
- I am pabloreszczynski on github.
- I am pablore (https://keybase.io/pablore) on keybase.
- I have a public key whose fingerprint is 6323 3DA3 227B C732 E053 C61C 0D64 0862 6D88 FFFD
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Tarea 2</title> | |
</head> | |
<body> |
-module(gol). | |
-export([bang/1]). | |
-define(CHAR_DEAD, 32). % " " | |
-define(CHAR_ALIVE, 111). % "o" | |
-define(CHAR_BAR, 45). % "-" | |
-define(GEN_INTERVAL, 100). |
use std::collections::HashMap; | |
use std::collections::HashSet; | |
type Cell = (i32, i32); | |
type Colony = HashSet<Cell>; | |
fn print_colony(col: &Colony, width: i32, height: i32) { | |
for y in 0..height { | |
for x in 0..width { | |
print!("{} ", |