Skip to content

Instantly share code, notes, and snippets.

View codenjoyme's full-sized avatar
🎯
Focusing

codenjoyme

🎯
Focusing
View GitHub Profile
import { getBoardAsString, getXYByPosition, getElementByXY, getBoardSize, getHeadPosition } from './utils';
import {ELEMENT, COMMANDS} from './constants';
export class Bot {
constructor() {
this.init();
}
run(board) {
@josephspurrier
josephspurrier / values_pointers.go
Last active May 15, 2025 14:43
Golang - Asterisk and Ampersand Cheatsheet
/*
********************************************************************************
Golang - Asterisk and Ampersand Cheatsheet
********************************************************************************
Also available at: https://play.golang.org/p/lNpnS9j1ma
Allowed:
--------
p := Person{"Steve", 28} stores the value