+
Skip to content

tbwcjw/nxcgol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nxcgol

An implementation of Conway's Game of Life for the Nintendo Switch

Documentation




Setup

  • Unzip [release].zip, copy switch/ to the root of your SD card.
  • Set nxcgol.config.txt, explained below.
  • Launch the application from HB menu.
Key Type Description
simulation_speed int

Between 0 and 100 (percent).

Default: 80
starting_density int

Between 0 and 100.
The amount of cells to spawn in a new colony.

Default: 100
show_stats bool

Either true or false.
The last line of the console will display controls, the current generation and the current colony number.

Default: true
auto_restart bool

Either true or false.
Start a new colony when the current one has stagnated.

Default: true
stagnant_wait int

Between 1 and 1000.
Wait this amount of generations to start a new colony after the current one has stagnated.

Default: 100
colorful bool

Either true or false.
Use the colors, as below, to show the state of each cell, else, use black background and white cells.

Default: true
stable_color str
R,G,B

Stable cells/patterns

Default: 86,252,3
growth_color str
R,G,B

Patterns increase in size/complexity over time

Default: 3,252,219
dense_color str
R,G,B

Region/pattern with high concentration of live cells

Default: 252,231,3
sparce_color str
R,G,B

Region with few live cells

Default:

Building

  • Install devkitpro with switch-dev, switch-curl and switch-zlib using the Getting Started guide. For building releases you will need zip.
  • Clone https://github.com/tbwcjw/nxcgol.git.
  • Copy nxcgol.sample.txt to nxcgol.config.txt and fill in the fields*.
  • make (all) - build the application and generate a release.
    make build - build the application.
    make release - builds and generate a release.
    make clean - removes build/build data. does not remove releases
  • Use NXLink to send application.nro and fptd to send the nxcgol.config.txt, ensuring it is in the same directory as application.nro.

Licenses

This software is licensed under the MIT License.

About

An implementation of Conway's Game of Life for the Nintendo Switch

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载