Skip to content

ManogyaDahal/GameOfLife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game of Life

Minimal Conway's Game of Life implemented in Go using Ebiten.

Quick start

  1. From project root:
  • Run: go mod tidy to install dependencies
  • Run: go run ./cmd/gameoflife/*

Controls

  • Space: Pause / unpause
  • R (paused): Randomize the board
  • C (paused): Clear the board
  • Left click: Set a cell alive

Source

  • cmd/gameoflife/main.go — app entry, input handling, Ebiten game loop
  • cmd/gameoflife/logic.go — world state, update rules, drawing

File Tree

.
├── cmd
│   ├── gameoflife     
│   │   ├── logic.go
│   │   └── main.go
│   └── server
│       └── server.go
├── go.mod
├── go.sum
├── LICENSE
├── README.md
└── static                

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Game of life written in golang and compiled to WASM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors