mirror of
https://github.com/thilo-behnke/wasm-pong.git
synced 2026-05-09 05:36:35 +00:00
cleanup
This commit is contained in:
@@ -2,12 +2,7 @@ import * as wasm from "wasm-app";
|
||||
import { Field, GameObject } from "wasm-app";
|
||||
import { memory } from "wasm-app/rust_wasm_bg";
|
||||
|
||||
// ...
|
||||
|
||||
const CELL_SIZE = 5; // px
|
||||
const GRID_COLOR = "#CCCCCC";
|
||||
const DEAD_COLOR = "#FFFFFF";
|
||||
const ALIVE_COLOR = "#000000";
|
||||
|
||||
const field = Field.new();
|
||||
const width = field.width;
|
||||
|
||||
Reference in New Issue
Block a user