You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
161 B
14 lines
161 B
12 years ago
|
package conway
|
||
|
|
||
|
type GameOfLife struct {
|
||
|
Height uint8
|
||
|
Width uint8
|
||
|
}
|
||
|
|
||
|
func NewGameOfLife() *GameOfLife {
|
||
|
return &GameOfLife{
|
||
|
Height: 16,
|
||
|
Width: 16,
|
||
|
}
|
||
|
}
|