ngx-snake
Version:
Snake game as an angular component, its only the core of the game... you need to add everything around it (controls, score...) yourself :)
11 lines (10 loc) • 445 B
TypeScript
import { OnInit } from '@angular/core';
import { GameGrid } from '../../definitions';
import * as i0 from "@angular/core";
export declare class BoardComponent implements OnInit {
data: GameGrid | null;
constructor();
ngOnInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<BoardComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<BoardComponent, "ngx-snake-board", never, { "data": "data"; }, {}, never, never>;
}