Fixed playfield symetry
This commit is contained in:
parent
8dd5eff733
commit
8159efd437
2 changed files with 13 additions and 13 deletions
|
@ -8,8 +8,8 @@ pub const Side = enum(u1) {
|
||||||
|
|
||||||
const startingX = [2]f64{ 15, 60 };
|
const startingX = [2]f64{ 15, 60 };
|
||||||
const colors = [2]spoon.Attribute.Colour{ .blue, .red };
|
const colors = [2]spoon.Attribute.Colour{ .blue, .red };
|
||||||
const leftLimit = [2]f64{ 1, 40 };
|
const leftLimit = [2]f64{ 1, 41 };
|
||||||
const rightLimit = [2]f64{ 33, 74 }; // (38, 79) minus a brother's width
|
const rightLimit = [2]f64{ 34, 74 }; // (38, 79) minus a brother's width
|
||||||
|
|
||||||
pub const Brother = struct {
|
pub const Brother = struct {
|
||||||
side: Side,
|
side: Side,
|
||||||
|
|
|
@ -12,7 +12,7 @@ pub fn draw(rc: *spoon.Term.RenderContext) !void {
|
||||||
|
|
||||||
const field =
|
const field =
|
||||||
\\████████████████████████████████████████████████████████████████████████████████
|
\\████████████████████████████████████████████████████████████████████████████████
|
||||||
\\█ ██ █
|
\\█ ██ █
|
||||||
\\████████████████████████████████████████████████████████████████████████████████
|
\\████████████████████████████████████████████████████████████████████████████████
|
||||||
\\█ █
|
\\█ █
|
||||||
\\█ █
|
\\█ █
|
||||||
|
@ -24,15 +24,15 @@ const field =
|
||||||
\\█ █
|
\\█ █
|
||||||
\\█ █
|
\\█ █
|
||||||
\\█ █
|
\\█ █
|
||||||
\\█ ██ █
|
\\█ ██ █
|
||||||
\\█ ██ █
|
\\█ ██ █
|
||||||
\\█ ██ █
|
\\█ ██ █
|
||||||
\\█ ██ █
|
\\█ ██ █
|
||||||
\\█ ██ █
|
\\█ ██ █
|
||||||
\\█ ██ █
|
\\█ ██ █
|
||||||
\\█ ██ █
|
\\█ ██ █
|
||||||
\\█ ██ █
|
\\█ ██ █
|
||||||
\\█ ██ █
|
\\█ ██ █
|
||||||
\\█ ██ █
|
\\█ ██ █
|
||||||
\\████████████████████████████████████████████████████████████████████████████████
|
\\████████████████████████████████████████████████████████████████████████████████
|
||||||
;
|
;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue