Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Just for practicing Rust

NotificationsYou must be signed in to change notification settings

SecondDim/game-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Just for practicing Rust

usage

  1. use default.ini
  • simple run usecargo run
  • build withcargo build orcargo build --release
  • use binary file:./target/debug/gol or./target/release/gol
  1. use custom file
  • cargo run path/to/init/file
  • ./target/debug/gol path/to/init/file or./target/release/gol path/to/init/file

.ini args

# Init world size => width hightworld 110 55# Add seed => x yBlock 5 0Beehive 5 5loaf 5 10boat 5 15tub 5 20blinker 10 10toad 10 15beacon 10 20pulsar 10 25penta_decathlon 20 10glider 20 20lightweightspaceship 20 30mwss 20 40HWSS 20 50# Add line => x y lenvertical_line 50 50 999horizontal 50 50 999

About

Just for practicing Rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp