Skip to content

Instantly share code, notes, and snippets.

🐻
Bearing

Maxime Sahroui maximeshr

🐻
Bearing
Block or report user

Report or block maximeshr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:5ca395e38a5e1f6f1bccf747e8cf27c5
[Keep your system upto date]
$ sudo pacman -Syu
@TODO
[Setup locales]
[User pacaur]
$ sudo pacman -S pacaur
[Install X Window System]
View gist:fbf365d22978ea51e4d525fd0a26a818
function isWallNotOnPath(
activePlayer,
destinationLine,
destinationColumn,
walls
) {
// je vérifie que mon déplacement ne tombe pas sur un mur
const isOnAWall = walls.find(function(wall) {
if (wall.l === destinationLine && wall.c === destinationColumn) {
return true;
You can’t perform that action at this time.