Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion trapcc/game_of_life.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def step_instructions(p, next_inst)
bl,b,br = n(-1,-1), n(0,-1), n(1,-1)

# above here, :counter has the number of live neighbours
a= dec_x_ifnot_y("#{name} cdec TL ",p,:counter,tl,"#{name}-0")
a=dec_x_ifnot_y("#{name} cdec TL ",p,:counter,tl,"#{name}-0")
a=dec_x_ifnot_y("#{name} cdec T",p,:counter,t,a)
a=dec_x_ifnot_y("#{name} cdec TR",p,:counter,tr,a)
a=dec_x_ifnot_y("#{name} cdec L",p,:counter,l,a)
Expand Down